summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/search.inc16
1 files changed, 8 insertions, 8 deletions
diff --git a/includes/search.inc b/includes/search.inc
index f15db5ee6..e3cd239c3 100644
--- a/includes/search.inc
+++ b/includes/search.inc
@@ -2,20 +2,20 @@
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";
+ $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";
- $output .= " <B><U><A HREF=\"$entry[link]\">$entry[title]</A></U></B><BR>";
- $output .= " <SMALL>$entry[link]". ($entry[user] ? " - ". format_username($entry[user]) : "") ."". ($entry[date] ? " - ". format_date($entry[date], "small") : "") ."</SMALL>";
- $output .= "</P>\n";
+ $output .= "<p>\n";
+ $output .= " <b><u><a href=\"$entry[link]\" />$entry[title]</a></u></b><br />";
+ $output .= " <small>$entry[link]". ($entry[user] ? " - ". format_username($entry[user]) : "") ."". ($entry[date] ? " - ". format_date($entry[date], "small") : "") ."</small>";
+ $output .= "</p>\n";
}
}
else {