Code

Added function to render new images
[gosa.git] / gosa-core / include / smarty / plugins / block.render.php
index ac157f4c5ea8a08a4575e89b1edb4bc4a65eb7c1..83a8fea8e1e04fbcd1e276894a2070503e36f5ab 100644 (file)
@@ -75,10 +75,12 @@ function smarty_block_render($params, $text, &$smarty)
                /* Disable options && greyout divlists */
                $from   = array("/class=['\"]list1nohighlight['\"]/i",
                                "/class=['\"]list0['\"]/i",
-                               "/class=['\"]list1['\"]/i");
+                               "/class=['\"]list1['\"]/i",
+                               "/class=['\"]sortableListItem[^'\"]*['\"]/i");
                $to     = array("class='list1nohighlightdisabled'",
                                "class='list1nohighlightdisabled'",
-                               "class='list1nohighlightdisabled'");
+                               "class='list1nohighlightdisabled'",
+                               "class='sortableListItemDisabled'");
                                
                if(!preg_match("/ disabled /",$text)){
                        $from [] = "/name=/i" ;