From 2d266e02f70cadc9489435639d390e15a593c684 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 10 Jun 2005 10:33:58 +0000 Subject: [PATCH] helpviewer git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@659 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/helpviewer.php | 4 ++-- include/functions_helpviewer.inc | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/html/helpviewer.php b/html/helpviewer.php index 4e46ffbf4..e84e9e595 100644 --- a/html/helpviewer.php +++ b/html/helpviewer.php @@ -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); diff --git a/include/functions_helpviewer.inc b/include/functions_helpviewer.inc index d15abc8c4..ac7a1e2f6 100644 --- a/include/functions_helpviewer.inc +++ b/include/functions_helpviewer.inc @@ -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=\"".$link."?pg=",$str); $str=str_replace("HREF=\"","href=\"".$link."?pg=",$str); return($str); } -- 2.30.2