# HG changeset patch # User rejo # Date 1209846166 0 # Node ID df8ec400e5a33223899e1af958259d7f281d355f # Parent 0756319df2d05fbe987d75552470f483b240241e [feladat @ 253] Added a small explanation of the supported regular expression for the search field. This closes ticket:38 and ticket:47. diff -r 0756319df2d0 -r df8ec400e5a3 docs/i18n-template-php.pot --- 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 diff -r 0756319df2d0 -r df8ec400e5a3 locale/nl_NL/LC_MESSAGES/messages.mo Binary file locale/nl_NL/LC_MESSAGES/messages.mo has changed diff -r 0756319df2d0 -r df8ec400e5a3 locale/nl_NL/LC_MESSAGES/nl.po --- 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" diff -r 0756319df2d0 -r df8ec400e5a3 search.php --- 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 "

" . _('Query') . ":

\n"; - echo " \n"; echo " \n"; - echo " \n"; - echo " \n"; - echo " \n"; - echo " \n"; - echo " \n"; - echo " \n"; - echo " \n"; - echo " \n"; + echo "
" . _('Enter a hostname or IP address') . "
 
\n"; + echo " \n"; + echo " \n"; + echo " \n"; + echo " \n"; + echo " \n"; + echo " \n"; + echo "
\n"; + echo "  \n"; + echo " \n"; + echo "
\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 "
\n"; echo " \n"; - echo " \n"; } include_once('inc/footer.inc.php');