diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-09-24 18:46:07 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-09-24 18:46:07 +0000 |
commit | a1222d6430f86ed83aa4d464f30fe2e9742a4d1d (patch) | |
tree | a426827765cd2078212b0729196392d09f1a17ba /includes | |
parent | d264b4fc2bdd430e0b65ee55506f0f64b075edc4 (diff) | |
download | brdo-a1222d6430f86ed83aa4d464f30fe2e9742a4d1d.tar.gz brdo-a1222d6430f86ed83aa4d464f30fe2e9742a4d1d.tar.bz2 |
- Fixed translation bugs (reported by Alexander Schwartz)
Diffstat (limited to 'includes')
-rw-r--r-- | includes/search.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/search.inc b/includes/search.inc index e3062496a..e05b527d6 100644 --- a/includes/search.inc +++ b/includes/search.inc @@ -2,14 +2,17 @@ function search_form($keys) { global $REQUEST_URI; + $output .= "<form action=\"$REQUEST_URI\" method=\"POST\">\n"; $output .= " <input size=\"50\" value=\"". check_form($keys) ."\" name=\"keys\">"; $output .= " <input type=\"submit\" value=\"". t("Search") ."\">\n"; $output .= "</form>\n"; + return $output; } function search_data($keys, $type) { + if ($keys && $type && $result = module_invoke($type, "search", check_query($keys))) { foreach ($result as $entry) { $output .= "<p>\n"; |