Code

Updated acl/actions
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 5 Oct 2006 10:46:22 +0000 (10:46 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 5 Oct 2006 10:46:22 +0000 (10:46 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4858 594d385d-05f5-0310-b6e9-bd551577e9d8

include/smarty/plugins/block.render.php

index 1f3dbf28559a35b338f63de1816cbc98e7d936ca..42858ac28c2eabe88569fedfa4c5482e7ffe76fe 100755 (executable)
@@ -62,8 +62,8 @@ function smarty_block_render($params, $text, &$smarty)
        }
 
        /* Remove select options */
-       $from   = array("#<option.*<\/option>#i");
-       $to     = array(" ");
+       $from   = array("#<option.*<\/option>#i","/(<textarea.*>).*(<\/textarea>)/i");
+       $to     = array(" ","\\1\\2");
        $text   = preg_replace($from,$to,$text);
 
        return $text;