cvs: phpweb /include layout.inc
| From: | Gabor Hojtsy | Date: | Sat, 04 Jan 2003 20:37:37 +0000 |
| Subject: | cvs: phpweb /include layout.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-14719@lists.php.net to get a copy of this message | ||
goba Sat Jan 4 15:37:37 2003 EDT
Modified files:
/phpweb/include layout.inc
Log:
Quickfix to make base conversion work if search is started from this form.
I'll look into this $base stuff more deeply later, to avoid unneeded
conversions and data transfer...
Index: phpweb/include/layout.inc
diff -u phpweb/include/layout.inc:1.109 phpweb/include/layout.inc:1.110
--- phpweb/include/layout.inc:1.109 Sat Jan 4 12:21:43 2003
+++ phpweb/include/layout.inc Sat Jan 4 15:37:37 2003
@@ -1,5 +1,5 @@
<?php
-/* $Id: layout.inc,v 1.109 2003/01/04 17:21:43 goba Exp $ */
+/* $Id: layout.inc,v 1.110 2003/01/04 20:37:37 goba Exp $ */
# spacer()
# print a IMG tag for a sized spacer GIF
@@ -240,9 +240,10 @@
<tr bgcolor="#666699">
<td align="right" valign="top" colspan="2"><font
color="#ffffff">
<form method="post" action="/search.php" class="thin">
-<input type="hidden" name="lang" value="<?php if(empty($LANG)) echo
htmlspecialchars(default_language()); else echo htmlspecialchars($LANG); ?>">
+<input type="hidden" name="lang" value="<?php if(empty($LANG)) echo
htmlspecialchars(default_language()); else echo htmlspecialchars($LANG); ?>" />
+<input type="hidden" name="base" value="<?php
htmlspecialchars($MYSITE); ?>" />
<small><span title="Keyboard shortcut: Alt+S (Win), Ctrl+S
(Apple)"><u>s</u>earch for</span></small>
-<input class="small" type="text" name="pattern" value=""
size="30" accesskey="s"/>
+<input class="small" type="text" name="pattern" value=""
size="30" accesskey="s" />
<small>in the</small>
<select name="show" class="small">
<option value="quickref" selected>function list