diff --git a/html/helpviewer.php b/html/helpviewer.php
index c463c63ed84a6b65a6e55f22c8a4363a9a90a607..4cbc459abf94bd630ae888d5c414469b832aef5e 100644 (file)
--- a/html/helpviewer.php
+++ b/html/helpviewer.php
@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");
/* 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;
}
} else {
$smarty->compile_dir= '/var/spool/gosa/';
}
+$smarty->assign("title", "GOsa - "._("Help browser"));
/* HELP management starts here ...
*/
/* 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>";