cvs: phpweb /include shared-manual.inc

From: Date: Sat, 14 Dec 2002 12:12:37 +0000
Subject: cvs: phpweb /include shared-manual.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-14152@lists.php.net to get a copy of this message
goba Sat Dec 14 07:12:37 2002 EDT Modified files: /phpweb/include shared-manual.inc Log: OK, so get rid of the redundancy, the search box leads to exactly the same results as the lookup box on manual pages. There is no need to have both of them... Index: phpweb/include/shared-manual.inc diff -u phpweb/include/shared-manual.inc:1.155 phpweb/include/shared-manual.inc:1.156 --- phpweb/include/shared-manual.inc:1.155 Sun Dec 8 07:33:56 2002 +++ phpweb/include/shared-manual.inc Sat Dec 14 07:12:37 2002 @@ -26,18 +26,8 @@ global $NEXT, $PREV, $UP, $HOME, $TOC, $PHP_SELF, $DOCUMENT_ROOT; global $SIDEBAR_DATA, $LANG; - $SIDEBAR_DATA.= '<form method="get" action="/manual-lookup.php">'; $SIDEBAR_DATA.= '<table border="0" cellpadding="4" cellspacing="0">'; - $SIDEBAR_DATA.= '<tr valign="top"><td><small>' . - '<input type="hidden" name="lang" value="' . $LANG . '">' . - '<span title="Keyboard shortcut: Alt+L (Win), Ctrl+L (Apple)"><u>l</u>ookup:</span> ' . - '<input type="text" class="small" name="function" size="10" accesskey="l"> ' . - make_submit('small_submit.gif', 'lookup', 'bottom') . - '<br></small></td></tr>'; - - $SIDEBAR_DATA.= '<tr bgcolor="#cccccc"><td></td></tr>'; - $SIDEBAR_DATA.= '<tr valign="top"><td>' . make_link('./', make_image('caret-t.gif', '^') . $HOME[1] ) . '<br></td></tr>'; @@ -70,7 +60,7 @@ } $SIDEBAR_DATA.= '</small></td></tr>'; - $SIDEBAR_DATA.= '</table></form>'; + $SIDEBAR_DATA.= '</table>'; } // Print out manual navigation bar @@ -122,7 +112,7 @@ // Try to make email address printing safe (protect from spammers) function safeEmail($email) { - return str_replace(array('@', '.'), array(' at ', ' dot '), $email); + return str_replace(array('@', '.'), array(' at ', ' dot '), $email); } // Print out one user note entry

« previous php.mirrors (#14152) next »