cvs: phpweb /include shared-manual.inc

From: Date: Fri, 24 Jan 2003 20:16:37 +0000
Subject: cvs: phpweb /include shared-manual.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-15300@lists.php.net to get a copy of this message
goba Fri Jan 24 15:16:37 2003 EDT Modified files: /phpweb/include shared-manual.inc Log: Make the title of the current page bold Index: phpweb/include/shared-manual.inc diff -u phpweb/include/shared-manual.inc:1.163 phpweb/include/shared-manual.inc:1.164 --- phpweb/include/shared-manual.inc:1.163 Fri Jan 24 14:48:03 2003 +++ phpweb/include/shared-manual.inc Fri Jan 24 15:16:37 2003 @@ -46,12 +46,13 @@ if (!$url || !$title) { continue; } + if ($UP[0] == 'funcref.php') { + $title = eregi_replace(" functions\$", "", $title); + } $img = 'box-0.gif'; if ($title == $this) { $img = 'box-1.gif'; - } - if ($UP[0] == 'funcref.php') { - $title = eregi_replace(" functions\$", "", $title); + $title = "<b>$title</b>"; } $SIDEBAR_DATA .= '&nbsp;' . make_link($url, make_image($img, "&middot;") . $title ) .

« previous php.mirrors (#15300) next »