Code

Fixed IE problem
[gosa.git] / html / helpviewer.php
index c463c63ed84a6b65a6e55f22c8a4363a9a90a607..4cbc459abf94bd630ae888d5c414469b832aef5e 100644 (file)
@@ -23,7 +23,7 @@
 @require_once ("functions.inc");
 @require_once ("functions_helpviewer.inc");
 
-error_reporting(E_ALL);
+error_reporting(E_ALL | E_STRICT);
 restore_error_handler();
 header("Content-type: text/html; charset=UTF-8");
 
@@ -33,7 +33,7 @@ $config= $_SESSION['config'];
 
 /* If no config object is found in the session, abort help */
 if (!isset($_SESSION['config'])){
-  gosa_log ("main.php called without session");
+  new log("security","all/all","",array(),"Help viewer called without session") ;
   header ("Location: index.php");
   exit;
 }
@@ -64,6 +64,7 @@ if (isset ($config->data['MAIN']['COMPILE'])){
 } else {
   $smarty->compile_dir= '/var/spool/gosa/';
 }
+$smarty->assign("title", "GOsa - "._("Help browser"));
 
 /* HELP management starts here ...
  */
@@ -188,11 +189,11 @@ while($file = readdir($f)){
 
 /* Some replacements */
 $backwardlink  = "<a href=\"?pg=%s\"  class=\"maintitlebar\">
-                  <img src='images/back.png' align=\"middle\" alt=\""._("previous")."\" border=\"0\">
+                  <img src='images/back.png' class=\"center\" align=\"middle\" alt=\""._("previous")."\" border=\"0\">
                  </a>";
 
 $forwardlink   = "<a href=\"?pg=%s\"  class=\"maintitlebar\">
-                  <img src='images/forward.png' align=\"middle\" alt=\""._("next")."\" border=\"0\">
+                  <img src='images/forward.png' class=\"center\" align=\"middle\" alt=\""._("next")."\" border=\"0\">
                  </a>";