- Bugfix: the search result type names (node, user, comment) were not

translatable in the search page output.  Patch by Gabor.
4.3.x
Dries Buytaert 2003-10-13 21:28:05 +00:00
parent b405fa22a9
commit 162ca6eb98
1 changed files with 1 additions and 1 deletions

View File

@ -365,7 +365,7 @@ function search_item($item, $type) {
}
else {
$output .= " <b><u><a href=\"". $item["link"] ."\">". $item["title"] ."</a></u></b><br />";
$output .= " <small>$type ". ($item["user"] ? " - ". $item["user"] : "") ."". ($item["date"] ? " - ". format_date($item["date"], "small") : "") ."</small>";
$output .= " <small>" . t($type) . ($item["user"] ? " - ". $item["user"] : "") ."". ($item["date"] ? " - ". format_date($item["date"], "small") : "") ."</small>";
$output .= "<br /><br />";
}