svn: /web/php/trunk/ mirroring-stats.php mirroring-troubles.php mirroring.php styles/theme.css tips.php unsub.php
| From: | Hannes Magnusson | Date: | Sun, 26 Dec 2010 21:40:12 +0000 |
| Subject: | svn: /web/php/trunk/ mirroring-stats.php mirroring-troubles.php mirroring.php styles/theme.css tips.php unsub.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-9846@lists.php.net to get a copy of this message | ||
bjori Sun, 26 Dec 2010 21:40:12 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=306709
Log:
Style "preformatted text" :)
Changed paths:
U web/php/trunk/mirroring-stats.php
U web/php/trunk/mirroring-troubles.php
U web/php/trunk/mirroring.php
U web/php/trunk/styles/theme.css
U web/php/trunk/tips.php
U web/php/trunk/unsub.php
Modified: web/php/trunk/mirroring-stats.php
===================================================================
--- web/php/trunk/mirroring-stats.php 2010-12-26 21:25:28 UTC (rev 306708)
+++ web/php/trunk/mirroring-stats.php 2010-12-26 21:40:12 UTC (rev 306709)
@@ -59,9 +59,9 @@
regularly. Something like this will be sufficient (update things
daily at 3 am):
</p>
- <pre>
+<pre class="info">
0 3 * * * (cd /your/stats/folder;/usr/bin/webalizer -c php.conf) >/dev/null
2>&1
- </pre>
+</pre>
<p>
Provide the path of the stats directory in the "cd".
</p>
Modified: web/php/trunk/mirroring-troubles.php
===================================================================
--- web/php/trunk/mirroring-troubles.php 2010-12-26 21:25:28 UTC (rev 306708)
+++ web/php/trunk/mirroring-troubles.php 2010-12-26 21:40:12 UTC (rev 306709)
@@ -32,7 +32,7 @@
solution is to move the MultiViews option into a specific
directory and disable it from there. For example:
</p>
-<pre>
+<pre class="info">
<VirtualHost *:80>
<Directory /path/to/phpweb>
Options -Indexes -MultiViews
Modified: web/php/trunk/mirroring.php
===================================================================
--- web/php/trunk/mirroring.php 2010-12-26 21:25:28 UTC (rev 306708)
+++ web/php/trunk/mirroring.php 2010-12-26 21:40:12 UTC (rev 306709)
@@ -82,7 +82,7 @@
As you have rsync, fetch the web files with the following:
</p>
-<pre>
+<pre class="info">
rsync -avzC --timeout=600 --delete --delete-after \
--include='distributions/*.exe' \
rsync.php.net::phpweb /your/local/path
@@ -94,7 +94,7 @@
language of the manual? Add:
</p>
-<pre>
+<pre class="info">
--include='manual/en/' --include='manual/en/**'
--exclude='manual/**' --exclude='distributions/manual/**'
</pre>
@@ -154,7 +154,7 @@
</p>
<a name="settings"></a>
-<pre>
+<pre class="info">
<VirtualHost *-or-your-hostname-or-your-ip-here>
<Directory /www/htdocs/phpweb>
# Do not display directory listings if index is not present,
@@ -271,7 +271,7 @@
is up to date. Something like:
</p>
-<pre>
+<pre class="info">
<?php echo $minute; ?> * * * * rsync -avzC --timeout=600 --delete --delete-after
--include='distributions/*.exe' rsync.php.net::phpweb /your/local/path
</pre>
Modified: web/php/trunk/styles/theme.css
===================================================================
--- web/php/trunk/styles/theme.css 2010-12-26 21:25:28 UTC (rev 306708)
+++ web/php/trunk/styles/theme.css 2010-12-26 21:40:12 UTC (rev 306709)
@@ -270,4 +270,11 @@
border-top: 3px solid #ff4d4d;
background-color: #EFEFEF;
}
+pre.info {
+ font-family:"Courier New", Courier, monospace;
+ border: 1px solid #ddd;
+ margin: 1em 2em 1.3em;
+ margin-right: 0.8em;
+ background-color: #efefef;
+}
Modified: web/php/trunk/tips.php
===================================================================
--- web/php/trunk/tips.php 2010-12-26 21:25:28 UTC (rev 306708)
+++ web/php/trunk/tips.php 2010-12-26 21:40:12 UTC (rev 306709)
@@ -129,7 +129,7 @@
small modifications. The script uses the current selection, or prompts for
a function name, and uses the default browser to show the page at php.net.
</p>
-<pre>
+<pre class="info">
tell application "BBEdit"
set fu to selection of window 1 as string
if fu = "" then
@@ -225,7 +225,7 @@
any Opera window.
</p>
-<pre>
+<pre class="info">
[Search Engine 4]
Name=PHP
URL=<?php echo $MYSITE; ?>
@@ -340,10 +340,10 @@
<li>
In that file, write the following code (substituting the path to Netscape,
if necessary):
- <pre>
+<pre class="info">
#!/bin/sh
/usr/bin/netscape <?php echo $MYSITE; ?>$1
- </pre>
+</pre>
</li>
<li>Save it and type <tt>chmod +x phpfind</tt> to make it executable</li>
<li>
Modified: web/php/trunk/unsub.php
===================================================================
--- web/php/trunk/unsub.php 2010-12-26 21:25:28 UTC (rev 306708)
+++ web/php/trunk/unsub.php 2010-12-26 21:40:12 UTC (rev 306709)
@@ -81,7 +81,7 @@
something like:
</p>
-<pre>
+<pre class="info">
Return-Path: <php-general-return-1234-joecool=example.com@lists.php.net>
</pre>