Code

helpviewer
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 10 Jun 2005 10:33:58 +0000 (10:33 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 10 Jun 2005 10:33:58 +0000 (10:33 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@659 594d385d-05f5-0310-b6e9-bd551577e9d8

html/helpviewer.php
include/functions_helpviewer.inc

index 4e46ffbf4c32ec4bb5e92ea3bacd7fe0beaaf81c..e84e9e595ef87fa47a70161b99f1d8096c42406c 100644 (file)
@@ -157,9 +157,9 @@ if(!file_exists(HELP_BASEDIR."/en/manual_gosa_en/")){
     $res = search($arr,$keyword); 
 
     /* Tell smarty which pages to use for backward forwa.. */
-    $smarty->assign("backward",$backward);
+    $smarty->assign("backward","");
     $smarty->assign("index"   ,$index);
-    $smarty->assign("forward" ,$forward);
+    $smarty->assign("forward" ,"");
 
     /* Tell smarty the Keyword, to show it in the input field again */
     $smarty->assign("search_string",$keyword);
index d15abc8c4cc3ecb425999a319d28563cfcb1ba95..ac7a1e2f69dd99c74359eebd94b87746ecb6fa32 100644 (file)
@@ -137,6 +137,7 @@ function remove_unwanted_tags($str,$replacements)
 /*Converts the all links to specified path, is needed to get simple navigation */
 function linkwrapper($str,$link)
 {
+//  $str = preg_replace("'<HREF.*>'","href=\"".$link."?pg=",$str);
   $str=str_replace("HREF=\"","href=\"".$link."?pg=",$str);  
   return($str);
 }