From: cajus Date: Mon, 14 Apr 2008 15:25:59 +0000 (+0000) Subject: Added patch for online help generation X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6b5a2c885b74a02b4bf6cc46589983c1eaf937b5;p=gosa.git Added patch for online help generation git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10437 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/debian/patches/00list b/gosa-core/debian/patches/00list index 3f4c9300c..45ee04938 100644 --- a/gosa-core/debian/patches/00list +++ b/gosa-core/debian/patches/00list @@ -3,3 +3,4 @@ 02_fix_template_location.dpatch 03_fix_class_mapping.dpatch 04_fix_locale_location.dpatch +04_fix_online_help_location.dpatch diff --git a/gosa-core/debian/patches/04_fix_online_help_location.dpatch b/gosa-core/debian/patches/04_fix_online_help_location.dpatch new file mode 100755 index 000000000..49d7d3762 --- /dev/null +++ b/gosa-core/debian/patches/04_fix_online_help_location.dpatch @@ -0,0 +1,31 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 04_fix_online_help_location.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad gosa-core~/html/helpviewer.php gosa-core/html/helpviewer.php +--- gosa-core~/html/helpviewer.php 2008-04-12 19:58:14.000000000 +0200 ++++ gosa-core/html/helpviewer.php 2008-04-14 17:25:10.000000000 +0200 +@@ -110,7 +110,7 @@ + if(session::is_set('current_class_for_help')){ + + /* Create new XML parser with the path to the Xml file */ +- $xml = new parseXml("../doc/guide.xml"); ++ $xml = new parseXml("/etc/gosa/guide.xml"); + + /* Generate help array */ + $str = $xml->parse(); +diff -urNad gosa-core~/update-gosa gosa-core/update-gosa +--- gosa-core~/update-gosa 2008-04-14 14:59:22.000000000 +0200 ++++ gosa-core/update-gosa 2008-04-14 17:24:53.000000000 +0200 +@@ -193,7 +193,7 @@ + + function rescan_guide() + { +- $master_guide= "doc/guide.xml"; ++ $master_guide= "/etc/gosa/guide.xml"; + echo "Updating Online Help Index...\n"; + $master_guide_content="\n". + "