summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8f8b3c7)
raw | patch | inline | side by side (parent: 8f8b3c7)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 9 Jun 2005 13:55:09 +0000 (13:55 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 9 Jun 2005 13:55:09 +0000 (13:55 +0000) |
html/helpviewer.php | patch | blob | history |
diff --git a/html/helpviewer.php b/html/helpviewer.php
index 68c0c4bd1bd5edd96529bbec0d1736bf491e0cdf..c37153fa5f93cb30dfda4f01628e78dcfded53db 100644 (file)
--- a/html/helpviewer.php
+++ b/html/helpviewer.php
##################
*/
-//set_error_handler("myone");
+set_error_handler("myone");
$helpdir = "../doc/guide/admin/en/manual_gosa_en/"; // Folder to use for help files
$defaultpage = "index.html"; // alternative file, shown on error, or on first call
$prefix = "node"; // Prefix of the generated help files
}else{
/* present last searched word(s)*/
+ if(!isset($_SESSION['search_string'])){
+ $_SESSION['search_string']="";
+ }
+
+
$smarty->assign("search_string",$_SESSION['search_string']);
/* Read all files, prepare to serach */
/* Get transmitted page */
if(isset($_GET['pg'])){
$page = $_GET['pg'];
+ }else{
+ $page = $defaultpage;
}
/* test if this page exists, in our array of files */