diff --git a/html/helpviewer.php b/html/helpviewer.php
index dddf0cd8b0c6a72bfc98f5165e399cf00460c508..511dc06676e4806f08294af1e238d8740a19ac0f 100644 (file)
--- a/html/helpviewer.php
+++ b/html/helpviewer.php
} else {
$smarty->compile_dir= '/var/spool/gosa/';
}
+$smarty->assign("title", "GOsa - "._("Help browser"));
/* HELP management starts here ...
*/
$index =$defaultpage;
$forward ="node1.html";
-
+$helpdir ="";
/* Every class which is called within a tab, stores its name in the Session.
* If $_SESSION['current_class_for_help'] isset,
* get the helpfile specified in the xml file and display it.
$str = $xml->parse();
/* __LANG__ is used as placeholder for the used language*/
- $helpdir= preg_replace("/__LANG__/i",$lang,$str[($_SESSION['current_class_for_help'])]['PATH']);
+ $helpdir= @preg_replace("/__LANG__/i",$lang,$str[($_SESSION['current_class_for_help'])]['PATH']);
/* If there is no entry in the xml file for this class, display an error message */
if($helpdir == ""){
}
}
}
-
$helpdir.="/";
/* Save current settings */