cvs: phpweb /include layout.inc shared-manual.inc

From: Date: Mon, 03 Feb 2003 21:20:47 +0000
Subject: cvs: phpweb /include layout.inc shared-manual.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-15463@lists.php.net to get a copy of this message
goba Mon Feb 3 16:20:47 2003 EDT Modified files: /phpweb/include layout.inc shared-manual.inc Log: Start the switch to /images instead of /gifs Index: phpweb/include/layout.inc diff -u phpweb/include/layout.inc:1.117 phpweb/include/layout.inc:1.118 --- phpweb/include/layout.inc:1.117 Sun Feb 2 06:00:43 2003 +++ phpweb/include/layout.inc Mon Feb 3 16:20:47 2003 @@ -1,6 +1,6 @@ <?php -/* $Id: layout.inc,v 1.117 2003/02/02 11:00:43 goba Exp $ */ +/* $Id: layout.inc,v 1.118 2003/02/03 21:20:47 goba Exp $ */ // Print an image for a sized spacer function spacer($width = 1, $height = 1, $return = false, $align = false, $extras = false) @@ -32,7 +32,7 @@ function make_image($file, $alt=false, $align=false, $extras=false, $dir=false, $border=0) { global $HTTP_SERVER_VARS; if (!$dir) { - $dir = '/gifs'; + $dir = '/images'; } if ($size = @getimagesize($HTTP_SERVER_VARS['DOCUMENT_ROOT'].$dir.'/'.$file)) { $image = sprintf('<img src="%s/%s" border="%d" %s ALT="%s" %s%s />', @@ -70,7 +70,7 @@ # function make_submit($file, $alt=false, $align=false, $extras=false, $dir=false, $border=0) { if (!$dir) { - $dir = '/gifs'; + $dir = '/images'; } $return = make_image($file, $alt, $align, $extras, $dir, $border); if ($return != "<img>") { @@ -274,7 +274,7 @@ <tr valign="top"><td class="sidebar"><?php echo $SIDEBAR_DATA?></td></tr> </table> </td> - <td bgcolor="#cccccc" background="/gifs/checkerboard.gif" width="1"><?php spacer(); ?></td> + <td bgcolor="#cccccc" background="/images/checkerboard.gif" width="1"><?php spacer(); ?></td> <?php endif; ?> <td> <table cellpadding="10" cellspacing="0" width="100%"> @@ -298,7 +298,7 @@ if ($enclosed) { echo "</td></tr></table></td>"; if(isset($RSIDEBAR_DATA)) {?> -<td bgcolor="#cccccc" background="/gifs/checkerboard.gif" width="1"><?php spacer(); ?></td> +<td bgcolor="#cccccc" background="/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.171 phpweb/include/shared-manual.inc:1.172 --- phpweb/include/shared-manual.inc:1.171 Sun Feb 2 07:28:55 2003 +++ phpweb/include/shared-manual.inc Mon Feb 3 16:20:47 2003 @@ -106,7 +106,7 @@ echo '<option value="' . $link[0] . '">' . $link[1] . "</option>\n"; } echo '</select>'; - echo '<input type="image" src="/gifs/small_submit.gif" border="0" width="11" height="11" alt="" align="baseline"> <small>version of this page</small></form>'; + 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>'; } else { echo "<small>&nbsp;</small>";

« previous php.mirrors (#15463) next »