From 187f39d42ef82aa5e6431b137928651c9e116126 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 2 Nov 2006 08:12:26 +0000 Subject: [PATCH] Added checkboxes to render function git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4985 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/smarty/plugins/block.render.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/include/smarty/plugins/block.render.php b/include/smarty/plugins/block.render.php index 42858ac28..cfc53cf0b 100755 --- a/include/smarty/plugins/block.render.php +++ b/include/smarty/plugins/block.render.php @@ -24,9 +24,6 @@ function smarty_block_render($params, $text, &$smarty) if(!(isset($params['mode']) && $params['mode']=='read_active')){ /* Disable options && greyout divlists */ - - - $from = array("/class=['\"]list1nohighlight['\"]/i", "/class=['\"]list0['\"]/i", "/class=['\"]list1['\"]/i"); @@ -62,8 +59,8 @@ function smarty_block_render($params, $text, &$smarty) } /* Remove select options */ - $from = array("##i","/().*(<\/textarea>)/i"); - $to = array(" ","\\1\\2"); + $from = array("##i","/().*(<\/textarea>)/i","/^(.*.*)$/"); + $to = array(" ","\\1\\2","\\1 \\2"); $text = preg_replace($from,$to,$text); return $text; -- 2.30.2