Code

Fixed encoding
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 28 Nov 2005 11:44:33 +0000 (11:44 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 28 Nov 2005 11:44:33 +0000 (11:44 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2101 594d385d-05f5-0310-b6e9-bd551577e9d8

html/helpviewer.php

index 0f0c168056de74dfed575d2165427495deae466c..f307564c3ff83cbcc8b61da77af286df522a0762 100644 (file)
@@ -112,7 +112,7 @@ if(isset($_SESSION['current_class_for_help'])){
     
     $smarty->assign("help_contents","<br><h2>"._("There is no helpfile specified for this class."))."</h2>";
     $header= "<!-- headers.tpl-->".$smarty->fetch(get_template_path('headers.tpl'));
-    $display= utf8_encode(  $header.$smarty->fetch(get_template_path('help.tpl')));
+    $display= (  $header.$smarty->fetch(get_template_path('help.tpl')));
     echo $display;
     unset($_SESSION['current_class_for_help']);
     exit();  
@@ -222,7 +222,7 @@ if(isset($_POST['search'])){
   /* There was a file requested which actually doesn't exists */
   $smarty->assign("help_contents","<h2>".sprintf(_("Helpdir '%s' is not accessible, can't read any helpfiles."),$helpdir))."</h2><br>";
   $header= "<!-- headers.tpl-->".$smarty->fetch(get_template_path('headers.tpl'));
-  $display= utf8_encode(  $header.$smarty->fetch(get_template_path('help.tpl')));
+  $display= (  $header.$smarty->fetch(get_template_path('help.tpl')));
   echo $display;
 }
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: