diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-08-04 13:37:41 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-08-04 13:37:41 +0000 |
commit | 97fe958df9e66be1c08add741950d1b80267fc31 (patch) | |
tree | 0a3888c18b9ebfab4b327698842f312ab6c04819 /modules/locale | |
parent | 6e15c4b55fb96ed0aa2b61f0a50b23cf0babc56f (diff) | |
download | brdo-97fe958df9e66be1c08add741950d1b80267fc31.tar.gz brdo-97fe958df9e66be1c08add741950d1b80267fc31.tar.bz2 |
- various improvements and small additions
Diffstat (limited to 'modules/locale')
-rw-r--r-- | modules/locale/locale.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/locale/locale.module b/modules/locale/locale.module index 4281ecb6b..cca306804 100644 --- a/modules/locale/locale.module +++ b/modules/locale/locale.module @@ -161,7 +161,7 @@ function locale_search() { } if ($edit[module]) $query[] = "location LIKE '%mod=". (check_input($edit[module]) != "all" ? check_input($edit[module]) : "") ."%'"; if ($edit[string]) $query[] = "string RLIKE '". check_input($edit[string]) ."'"; - + $result = db_query("SELECT * FROM locales". (count($query) ? " WHERE ". implode(" && ", $query) : "")); $output .= "<TABLE BORDER=\"1\" CELLPADDING=\"2\" CELLSPACING=\"2\">\n"; @@ -178,7 +178,7 @@ function locale_search() { $form .= form_textfield("String", "string", $edit[string], 30, 30, "Leave blank to show all strings. This is treated as a regular expression."); $form .= form_submit("Search"); - + $output .= form($REQUEST_URI, $form); return $output; |