Code

updated helpviewer
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 3 Nov 2005 10:35:12 +0000 (10:35 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 3 Nov 2005 10:35:12 +0000 (10:35 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1815 594d385d-05f5-0310-b6e9-bd551577e9d8

html/helpviewer.php

index 1f0499a42ba5b0e2da76af34b1232bfd65469b7b..7de5c2ece33b0bef39f2ca8d00b7db36a020b6fa 100644 (file)
@@ -60,12 +60,9 @@ if (isset ($config->data['MAIN']['COMPILE'])){
   $smarty->compile_dir= '/var/spool/gosa/';
 }
 
-
-
 /* HELP management starts here ...
  */
 
-
 /* Generate helpobject */
 if(isset($_SESSION['helpobject'])){
   $helpobject = $_SESSION['helpobject'];
@@ -79,6 +76,7 @@ if(isset($_SESSION['helpobject'])){
 
 $lang =  preg_replace("/_.*$/","",get_browser_language());
 
+$helpobject['lang']           = $lang;  
 $defaultpage                  = "index.html";                       // alternative file, shown on error, or on first call
 $prefix                       = "node";                             // Prefix of the generated help files 
 $suffix                       = ".html";                            // Suffix of the generated helpfiles