summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 264c121)
raw | patch | inline | side by side (parent: 264c121)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 9 Jun 2005 13:51:48 +0000 (13:51 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 9 Jun 2005 13:51:48 +0000 (13:51 +0000) |
html/helpviewer.php | patch | blob | history |
diff --git a/html/helpviewer.php b/html/helpviewer.php
index b32c88f00078d97b049c327d5dda1042fc28e66f..68c0c4bd1bd5edd96529bbec0d1736bf491e0cdf 100644 (file)
--- a/html/helpviewer.php
+++ b/html/helpviewer.php
/* 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 */
$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);
$help_contents=remove_unwanted_tags($help_contents[$page]['content'],$replacements);
}
-
$smarty->assign("help_contents",$help_contents);
/* Define our own navigation pages */
$display= $header.$smarty->fetch(get_template_path('help.tpl'));
echo $display;
}
+
+// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
?>