Code

Fixed headlines
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 10 Jun 2005 05:40:34 +0000 (05:40 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 10 Jun 2005 05:40:34 +0000 (05:40 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@638 594d385d-05f5-0310-b6e9-bd551577e9d8

html/helpviewer.php

index 14fa4c661a9df72fd24bf5802046583824c784df..ceaa5161ead20f62c4345907b85909f8f55ffa6a 100644 (file)
@@ -95,14 +95,16 @@ $replacements['from']=array("@<!DOC.*<BODY >@si",
                             "/<HR>/",
                             "@<ADDRESS[^>]*?>.*?ADDRESS>@si",
                             "@<\/BODY[^>]*?>.*?HTML>@si",
-                            "'<TABLE.*>'");
+                            "'<TABLE.*>'",
+                            "/<H1 ALIGN=\"CENTER\">/");
 $replacements['to']=array("",
                           "",
                           "",
                           "",
                           "",
                           "",
-                          "<table border=1 cellspacing=0 bgcolor=\"#E0E0E0\" width=\"95%\" align=\"center\" cellpadding=\"3\">");
+                          "<table border=1 cellspacing=0 bgcolor=\"#E0E0E0\" width=\"95%\" align=\"center\" cellpadding=\"3\">",
+                          "<H1>");
 
 
 /* Default pages */
@@ -163,7 +165,7 @@ if(isset($_POST['search'])){
   $smarty->assign("search_string",$_SESSION['search_string']);
 
   /* Read all files, prepare to serach */
-  $helppages = readfiles("../doc/guide/admin/en/manual_gosa_en/",$prefix,$suffix,true);
+  $helppages = readfiles($helpdir,$prefix,$suffix,true);
 
   /* Get transmitted page */
   if(isset($_GET['pg'])){