- Bugfix: the search result type names (node, user, comment) were not
translatable in the search page output. Patch by Gabor.4.3.x
parent
b405fa22a9
commit
162ca6eb98
|
@ -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 />";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue