From 15370a46f2f3c1db3c6aa811b5634a459a09bf00 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 28 Oct 2005 12:11:07 +0000 Subject: [PATCH] some changes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1738 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/functions_helpviewer.inc | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/include/functions_helpviewer.inc b/include/functions_helpviewer.inc index 98040658a..94ea46156 100644 --- a/include/functions_helpviewer.inc +++ b/include/functions_helpviewer.inc @@ -23,6 +23,38 @@ Only function definition will follow here /******************************************* +/* Define which tags musst be delete, header, navigation, banner */ +$replacements=array(); +$replacements['from']=array("@@si", + "/border=\".*\"/i", + "''", +// "/alt=\".*\"/i", + "/
/", + "@]*?>.*?ADDRESS>@si", + "@<\/BODY[^>]*?>.*?HTML>@si", + "''", + "/src.*icons/i", + "/src=\"/i", + "/

/", + /* picture replacements */ + // "", + ); + +$replacements['to']=array("", + " border=\"0\" ", + "", + // "", + "", + "", + "", + "", + "src=\"", + "src=\"images/", + "

", + /* picture replacements */ +// "", + ); + /* Reads all files in specified directory with contents an some inforations about the file */ /* Read all files with contents*/ -- 2.30.2