cvs: pearweb /include layout.php
| From: | Stig Bakken | Date: | Sun, 29 Jul 2001 02:24:28 +0000 |
| Subject: | cvs: pearweb /include layout.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-364@lists.php.net to get a copy of this message | ||
ssb Sat Jul 28 22:24:28 2001 EDT
Modified files:
/pearweb/include layout.php
Log:
* E_ALL cleanup
Index: pearweb/include/layout.php
diff -u pearweb/include/layout.php:1.9 pearweb/include/layout.php:1.10
--- pearweb/include/layout.php:1.9 Sat Jul 28 20:44:29 2001
+++ pearweb/include/layout.php Sat Jul 28 22:24:27 2001
@@ -1,9 +1,10 @@
<?php
-/* $Id: layout.php,v 1.9 2001/07/29 00:44:29 ssb Exp $ */
+/* $Id: layout.php,v 1.10 2001/07/29 02:24:27 ssb Exp $ */
require_once 'site.php';
+if (empty($prevsearch)) $prevsearch = '';
# spacer()
# print a IMG tag for a sized spacer GIF
@@ -204,11 +205,11 @@
<tr bgcolor="#006633">
<td align="right" valign="top" colspan="2">
-<!--
+<?php /*
<form method="POST" action="/search.php">
<font color="#ffffff">
<small>search for</small>
-<INPUT CLASS="small" TYPE="text" NAME="pattern" VALUE="<?
echo htmlspecialchars($prevsearch) ?>" SIZE="30">
+<INPUT CLASS="small" TYPE="text" NAME="pattern" VALUE="<?
echo htmlspecialchars($GLOBALS['prevsearch']) ?>" SIZE="30">
<small>in the</small>
<SELECT NAME="show" CLASS="small">
<OPTION VALUE="packages" SELECTED>packages
@@ -222,7 +223,7 @@
<? echo make_submit('small_submit_white.gif', 'search', 'bottom');
?> <br>
</font></form>
-//-->
+*/ ?>
</td>
</tr>