summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0710798)
raw | patch | inline | side by side (parent: 0710798)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 28 Nov 2005 09:18:52 +0000 (09:18 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 28 Nov 2005 09:18:52 +0000 (09:18 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2093 594d385d-05f5-0310-b6e9-bd551577e9d8
html/helpviewer.php | patch | blob | history |
diff --git a/html/helpviewer.php b/html/helpviewer.php
index 05f31f494e70b5f15bd3735983daa8f05b370c13..93a3b7d6955c53003a45694ffbd01cd70176479b 100644 (file)
--- a/html/helpviewer.php
+++ b/html/helpviewer.php
/* Generate help array */
$str = $xml->parse();
-
+
/* __LANG__ is used as placeholder for the used language*/
$helpdir= preg_replace("/__LANG__/i",$lang,$str[($_SESSION['current_class_for_help'])]['PATH']);
$helpobject['currentplug'] = $helpdir;
/* Avoid displaying the same help every time */
- unset($_SESSION['current_class_for_help']);
+ if(isset($_GET['pg'])){
+ unset($_SESSION['current_class_for_help']);
+ }
}elseif(isset($_GET['plug'])){
/* This displays helpfiles depending on the current $_GET[plug] */