\n"; $output .= " "; $output .= " \n"; $output .= "\n"; return $output; } function search_data($keys, $type) { if ($keys && $type && $result = module_invoke($type, "search", check_query($keys))) { foreach ($result as $entry) { $output .= "
\n";
$output .= " $entry[title]
";
$output .= " $entry[link]". ($entry[user] ? " - ". format_username($entry[user]) : "") ."". ($entry[date] ? " - ". format_date($entry[date], "small") : "") ."";
$output .= "