From 8f8b3c7afa701b59baa67a28da3db5c26490579a Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 9 Jun 2005 13:51:48 +0000 Subject: [PATCH] renamed file, for fucntions helpviewer git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@631 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/helpviewer.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/html/helpviewer.php b/html/helpviewer.php index b32c88f00..68c0c4bd1 100644 --- a/html/helpviewer.php +++ b/html/helpviewer.php @@ -24,7 +24,7 @@ /* Basic setup, remove eventually registered sessions */ require_once ("../include/php_setup.inc"); require_once ("../include/functions.inc"); -require_once ("helpviewer_func.inc"); +require_once ("../include/functions_helpviewer.inc"); session_start (); error_reporting(E_ALL); /* Logged in? Simple security check */ @@ -197,7 +197,7 @@ if(isset($_POST['search'])){ $help_contents=readfiles($helpdir,$prefix,$suffix,false,$page); /* Mark last searched words */ - if($_GET['mark']){ + if(isset($_GET['mark'])){ $marks = ($_SESSION['lastresults']) ; $help_contents = markup_page($help_contents[$page]['content'],$marks[$page]); $help_contents=remove_unwanted_tags($help_contents,$replacements); @@ -205,7 +205,6 @@ if(isset($_POST['search'])){ $help_contents=remove_unwanted_tags($help_contents[$page]['content'],$replacements); } - $smarty->assign("help_contents",$help_contents); /* Define our own navigation pages */ @@ -218,4 +217,6 @@ if(isset($_POST['search'])){ $display= $header.$smarty->fetch(get_template_path('help.tpl')); echo $display; } + +// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?> -- 2.30.2