search.php
changeset 147 df8ec400e5a3
parent 126 cb06e3e29ed8
--- a/search.php	Mon Apr 28 20:10:12 2008 +0000
+++ b/search.php	Sat May 03 20:22:46 2008 +0000
@@ -118,18 +118,21 @@
 	}
 
 	echo "     <h3>" . _('Query') . ":</h3>\n";
-	echo "     <table>\n";
 	echo "      <form method=\"post\" action=\"" . $_SERVER['PHP_SELF'] . "\">\n";
-	echo "       <tr>\n";
-	echo "        <td class=\"n\">" . _('Enter a hostname or IP address') . "</td>\n";
-	echo "        <td class=\"n\"><input type=\"text\" class=\"input\" name=\"query\" value=\"" . $holy_grail . "\"></td>\n";
-	echo "       </tr>\n";
-	echo "       <tr>\n";
-	echo "        <td class=\"n\">&nbsp;</td>\n";
-	echo "        <td class=\"n\"><input type=\"submit\" class=\"button\" name=\"submit\" value=\"" . _('Search') . "\"></td>\n";
-	echo "       </tr>\n";
+	echo "       <table>\n";
+	echo "        <tr>\n";
+	echo "         <td>\n";
+	echo "          <input type=\"text\" class=\"input\" name=\"query\" value=\"" . $holy_grail . "\">&nbsp;\n";
+	echo "          <input type=\"submit\" class=\"button\" name=\"submit\" value=\"" . _('Search') . "\">\n";
+	echo "         </td>\n";
+	echo "        </tr>\n";
+	echo "        <tr>\n";
+	echo "         <td>\n";
+	echo "          " . _('Enter a hostname or IP address. SQL LIKE syntax supported: an underscore (_) in pattern matches any single character, a percent sign (%) matches any string of zero or more characters.') . "\n";
+	echo "         </td>\n";
+	echo "        </tr>\n";
+	echo "       </table>\n";
 	echo "      </form>\n";
-	echo "     </table>\n";
 
 }
 include_once('inc/footer.inc.php');