cvs: phpweb /include layout.inc shared-manual.inc
| From: | Sascha Schumann | Date: | Tue, 20 May 2003 21:49:38 +0000 |
| Subject: | cvs: phpweb /include layout.inc shared-manual.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-17864@lists.php.net to get a copy of this message | ||
sas Tue May 20 17:49:38 2003 EDT
Modified files:
/phpweb/include layout.inc shared-manual.inc
Log:
More work on moving accesses to static resources
Index: phpweb/include/layout.inc
diff -u phpweb/include/layout.inc:1.156 phpweb/include/layout.inc:1.157
--- phpweb/include/layout.inc:1.156 Tue May 20 17:45:24 2003
+++ phpweb/include/layout.inc Tue May 20 17:49:38 2003
@@ -1,5 +1,5 @@
<?php
-/* $Id: layout.inc,v 1.156 2003/05/20 21:45:24 sas Exp $ */
+/* $Id: layout.inc,v 1.157 2003/05/20 21:49:38 sas Exp $ */
$www_static_root = ($HTTP_SERVER_VARS['SERVER_NAME'] == 'www.php.net') ?
'http://static.php.net/www.php.net'
: '';
}
@@ -290,7 +290,7 @@
<tr valign="top"><td class="sidebar"><?php echo
$SIDEBAR_DATA?></td></tr>
</table>
</td>
- <td bgcolor="#cccccc" background="/images/checkerboard.gif"
width="1"><?php spacer(); ?></td>
+ <td bgcolor="#cccccc"
background="$www_static_root/images/checkerboard.gif" width="1"><?php
spacer(); ?></td>
<?php endif; ?>
<td>
<table cellpadding="10" cellspacing="0" width="100%">
@@ -311,11 +311,11 @@
function commonFooter() {
global $SCRIPT_NAME, $MYSITE, $LAST_UPDATED, $PHP_SELF,
- $enclosed, $RSIDEBAR_DATA, $page_creation_start;
+ $enclosed, $RSIDEBAR_DATA, $page_creation_start, $www_static_root;
if ($enclosed) {
echo "</td></tr></table></td>";
if (!empty($RSIDEBAR_DATA)) { ?>
-<td bgcolor="#cccccc" background="/images/checkerboard.gif"
width="1"><?php spacer(); ?></td>
+<td bgcolor="#cccccc" background="$www_static_root/images/checkerboard.gif"
width="1"><?php spacer(); ?></td>
<td width="175" bgcolor="#f0f0f0">
<table width="100%" cellpadding="4" cellspacing="0">
<tr valign="top"><td class="sidebar"><?php echo
$RSIDEBAR_DATA?></td></tr>
Index: phpweb/include/shared-manual.inc
diff -u phpweb/include/shared-manual.inc:1.185 phpweb/include/shared-manual.inc:1.186
--- phpweb/include/shared-manual.inc:1.185 Sun May 18 10:25:25 2003
+++ phpweb/include/shared-manual.inc Tue May 20 17:49:38 2003
@@ -107,7 +107,7 @@
echo '<option value="' . $link[0] . '">' . $link[1]
. "</option>\n";
}
echo '</select>';
- echo '<input type="image" src="/images/small_submit.gif"
border="0" width="11" height="11" alt=""
align="baseline"> <small>version of this page</small></form>';
+ echo '<input type="image"
src="$www_static_root/images/small_submit.gif" border="0" width="11"
height="11" alt="" align="baseline"> <small>version of this
page</small></form>';
} else {
echo "<small> </small>";