Code

some changes
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 28 Oct 2005 12:11:07 +0000 (12:11 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 28 Oct 2005 12:11:07 +0000 (12:11 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1738 594d385d-05f5-0310-b6e9-bd551577e9d8

include/functions_helpviewer.inc

index 98040658a770f72f5a2b458c393ad3bb590e13c2..94ea46156fe15512dea048739c9a92f1e527d094 100644 (file)
   Only function definition will follow here
 /*******************************************
 
+/* Define which tags musst be delete, header, navigation, banner */
+$replacements=array();
+$replacements['from']=array("@<!DOC.*<BODY >@si",
+    "/border=\".*\"/i",
+    "'<code.*code>'",
+//    "/alt=\".*\"/i",
+    "/<HR>/",
+    "@<ADDRESS[^>]*?>.*?ADDRESS>@si",
+    "@<\/BODY[^>]*?>.*?HTML>@si",
+    "'<TABLE.*>'",
+    "/src.*icons/i",
+    "/src=\"/i",
+    "/<H1 ALIGN=\"CENTER\">/",
+ /* picture replacements */
+ //  "",
+    );
+
+$replacements['to']=array("",
+    " border=\"0\" ",
+    "",
+  //  "",
+    "",
+    "",
+    "",
+    "<table border=1 cellspacing=0 bgcolor=\"#E0E0E0\" width=\"95%\" align=\"center\" cellpadding=\"3\" summary=\"\">",
+    "src=\"",
+    "src=\"images/",
+    "<H1>",
+ /* picture replacements */
+//    "",
+  );
+
 
 /* Reads all files in specified directory with contents an some inforations about the file */
 /* Read all files with contents*/