summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 06498ab)
raw | patch | inline | side by side (parent: 06498ab)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 28 Jun 2007 09:37:07 +0000 (09:37 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 28 Jun 2007 09:37:07 +0000 (09:37 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6726 594d385d-05f5-0310-b6e9-bd551577e9d8
include/functions.inc | patch | blob | history | |
plugins/admin/fai/class_faiScript.inc | patch | blob | history |
diff --git a/include/functions.inc b/include/functions.inc
index 4cac0b7c7580ce08eae29e9f90d9c5742344011c..94164fbf81b40cbe1100dfb4786a2f5ef7ec507f 100644 (file)
--- a/include/functions.inc
+++ b/include/functions.inc
function prepare4mailbody($string)
{
- $string = $string;
+ $string = html_entity_decode($string);
$from = array("/\n/" , "/&/" ,"/(\'|\")/");
- $to = array("%0A" , "%26" ,"");
+ $to = array("%0A" , "%26" ,"%22");
$string = preg_replace($from,$to,$string);
+ echo "<pre>".$string."</pre>";
return($string);
}
index 537c35318581a4a114a813f821fa46af558921b0..1645191953480fcdb2039d28cabe8720127ddb76 100644 (file)
/* Call parent execute */
plugin::execute();
+ $as[$bd][d] =2;
+
/* Fill templating stuff */
$smarty= get_smarty();
$display= "";