X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Ffunctions_helpviewer.inc;h=437ffe12e1a649bd63bccc83c458e343497d65be;hb=8c49340e770277217dfd576f3f679014b70c4f63;hp=8bb1dcdd6c4bf3cd4f9e2dee39090a98a3ceca6c;hpb=276bccef2e66d21a62ccbcf667b7089f6a3af454;p=gosa.git diff --git a/gosa-core/include/functions_helpviewer.inc b/gosa-core/include/functions_helpviewer.inc index 8bb1dcdd6..437ffe12e 100644 --- a/gosa-core/include/functions_helpviewer.inc +++ b/gosa-core/include/functions_helpviewer.inc @@ -42,9 +42,9 @@ class parseXml $xmldata= fread($fh, 100000); fclose($fh); if(!xml_parse($this->parser, chop($xmldata))){ - print(sprintf(_("XML error in guide.xml: %s at line %d"), - xml_error_string(xml_get_error_code($this->parser)), - xml_get_current_line_number($this->parser))); + print(sprintf(_("XML error in guide.xml: %s at line %s"), + bold(xml_error_string(xml_get_error_code($this->parser))), + bold(xml_get_current_line_number($this->parser)))); exit; } return($this->entries); @@ -386,8 +386,8 @@ function searchlist($arr,$res,$maxresults) /* appending footer message for resultlist */ $ret.= "
".sprintf(_("%s results for your search with the keyword %s"), - "".count($topten)."", - "".session::get('parsed_search_keyword').""); + bold(count($topten)), + bold(session::get('parsed_search_keyword'))); $ret.="

"; return($ret); @@ -458,9 +458,7 @@ function createResultEntry($entry,$res,$name,$max) - - ".(sprintf(_("%s%% hit rate in file %s"),$percentage,$name))." - + ".(sprintf(_("%s%% hit rate in file %s"), bold($percentage), bold($name)))."