Code

Added patch for online help generation
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 14 Apr 2008 15:25:59 +0000 (15:25 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 14 Apr 2008 15:25:59 +0000 (15:25 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10437 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/debian/patches/00list
gosa-core/debian/patches/04_fix_online_help_location.dpatch [new file with mode: 0755]

index 3f4c9300c29a4329804b5d1cd29b7b48d64ac68d..45ee04938b3015e44cb8b2fd078bccc95a8befa8 100644 (file)
@@ -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 (executable)
index 0000000..49d7d37
--- /dev/null
@@ -0,0 +1,31 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 04_fix_online_help_location.dpatch by  <cajus@frost>
+##
+## 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="<?xml version=\"1.0\"?>\n".
+               "<!--\n".