[feladat @ 253]
Added a small explanation of the supported regular expression for the search field. This closes ticket:38 and ticket:47.
--- a/docs/i18n-template-php.pot Mon Apr 28 20:10:12 2008 +0000
+++ b/docs/i18n-template-php.pot Sat May 03 20:22:46 2008 +0000
@@ -379,7 +379,7 @@
msgstr ""
#: search.php:124
-msgid "Enter a hostname or IP address"
+msgid "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."
msgstr ""
#: search.php:129
Binary file locale/nl_NL/LC_MESSAGES/messages.mo has changed
--- a/locale/nl_NL/LC_MESSAGES/nl.po Mon Apr 28 20:10:12 2008 +0000
+++ b/locale/nl_NL/LC_MESSAGES/nl.po Sat May 03 20:22:46 2008 +0000
@@ -375,8 +375,8 @@
msgstr "Zoekopdracht"
#: search.php:124
-msgid "Enter a hostname or IP address"
-msgstr "Geef een hostname of IP address"
+msgid "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."
+msgstr "Geef een hostname of IP adres. SQL LIKE syntax wordt ondersteund: een underscore (_) in de zoekopdracht staat voor een enkel willekeurig teken, een procentteken (%) staat voor nul, een of meer willekeurige tekens."
#: search.php:129
msgid "Search"
--- 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\"> </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 . "\"> \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');