summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d53fffb)
raw | patch | inline | side by side (parent: d53fffb)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 2 Nov 2006 09:01:12 +0000 (09:01 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 2 Nov 2006 09:01:12 +0000 (09:01 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4992 594d385d-05f5-0310-b6e9-bd551577e9d8
include/smarty/plugins/block.render.php | patch | blob | history |
index cfc53cf0b22a79c1446c5d9b105c2c34512b3ed8..df8c6e7006aafa4d5f105dd1243b3d7b269d0e69 100755 (executable)
}
/* Remove select options */
- $from = array("#<option.*<\/option>#i","/(<textarea.*>).*(<\/textarea>)/i","/^(.*<input.*)checked(.*>.*)$/");
- $to = array(" ","\\1\\2","\\1 \\2");
+ $from = array("#<option.*<\/option>#i",
+ "/(<textarea.*>).*(<\/textarea>)/i",
+ "/^(.*<input.*)checked(.*>.*)$/i");
+
+ $to = array(" ",
+ "\\1\\2",
+ "\\1 \\2");
$text = preg_replace($from,$to,$text);
return $text;