X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=html%2Fhelpviewer.php;h=4cbc459abf94bd630ae888d5c414469b832aef5e;hb=631835d21ce03287d25d8578ccf3a14bbcb74acc;hp=c463c63ed84a6b65a6e55f22c8a4363a9a90a607;hpb=8ed10a962338dacc357d1aee6eb1d70729b9f4b6;p=gosa.git diff --git a/html/helpviewer.php b/html/helpviewer.php index c463c63ed..4cbc459ab 100644 --- a/html/helpviewer.php +++ b/html/helpviewer.php @@ -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 = " - \""._("previous")."\" + \""._("previous")."\" "; $forwardlink = " - \""._("next")."\" + \""._("next")."\" ";