X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Fsmarty%2Fplugins%2Fblock.render.php;h=83a8fea8e1e04fbcd1e276894a2070503e36f5ab;hb=b1ed18328a4fb24c461844f6fd2092a5b4f3fdcc;hp=11b727482404fded2c12eacb3e2466ffcfd24b71;hpb=424c35d26074594c939a3190ab34e50365a2d4b1;p=gosa.git diff --git a/gosa-core/include/smarty/plugins/block.render.php b/gosa-core/include/smarty/plugins/block.render.php index 11b727482..83a8fea8e 100644 --- a/gosa-core/include/smarty/plugins/block.render.php +++ b/gosa-core/include/smarty/plugins/block.render.php @@ -14,7 +14,7 @@ function smarty_block_render($params, $text, &$smarty) } /* Debug output */ - if (session::global_is_set('DEBUGLEVEL') && session::global_get('DEBUGLEVEL') & DEBUG_ACL ){ + if (session::is_set('DEBUGLEVEL') && session::get('DEBUGLEVEL') & DEBUG_ACL ){ echo " ".$acl.""; } @@ -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" ;