summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 08a7177)
raw | patch | inline | side by side (parent: 08a7177)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 27 Mar 2008 12:37:21 +0000 (12:37 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 27 Mar 2008 12:37:21 +0000 (12:37 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10026 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/html/helpviewer.php | patch | blob | history | |
gosa-core/include/functions_helpviewer.inc | patch | blob | history |
index 214507005bad8aeaa4286ebbfe3afe1bbcb3e79d..0be42bbe6c461df88b8df59dbba692eba3ee5061 100644 (file)
if(preg_match("/\//",$_GET['pg'])){
$arr = split("\/",$_GET['pg']);
- $helpobject['currentplug'] = "../doc/guide/user/".$helpobject['lang']."/html/".$arr[0];
+ $helpobject['currentplug'] = "../doc/core/".$helpobject['lang']."/html/".$arr[0];
$helpdir = $helpobject['currentplug'];
$helpobject['file']= $arr[1];
}else{
$helpobject['file'] = "index.html";
}
/* Create new helpdir (The path where the requested page is located)*/
- $helpdir = "../doc/guide/user/".$helpobject['lang']."/html/".preg_replace("/^.*\//i","",$helpobject['currentplug']);
+ $helpdir = "../doc/core/".$helpobject['lang']."/html/".preg_replace("/^.*\//i","",$helpobject['currentplug']);
/* If helpdir is empty, force index */
if(empty($helpobject['currentplug'])){
/* If there is no helpdir or file defined, display the index */
if(isset($_POST['search'])){
- $helpdir = "../doc/guide/user/".$helpobject['lang']."/html/";
+ $helpdir = "../doc/core/".$helpobject['lang']."/html/";
/* read all available directories */
$index = readfiles($helpdir,$prefix,$suffix,false,false);
$smarty->assign("help_contents",((searchlist($index,search($index,$_POST['search_string']),10))));
diff --git a/gosa-core/include/functions_helpviewer.inc b/gosa-core/include/functions_helpviewer.inc
index 0be6301638731a2c7fb7c8d187e8d17abbcaa2a6..a44a06d0d2caf8bfcc6e2dbc4e7a111b7d95632a 100644 (file)
foreach($helpobject['helpconf'] as $id => $attrs){
$path = $test -> get_path($id);
$exists = true;
- $helpdir = "../doc/guide/user/".$helpobject['lang']."/html/".preg_replace("/^.*\//i","",$path)."/";
+ $helpdir = "../doc/core/".$helpobject['lang']."/html/".preg_replace("/^.*\//i","",$path)."/";
if(!is_dir($helpdir)){
$exists = false;
}