diff --git a/gosa-core/include/smarty/plugins/block.render.php b/gosa-core/include/smarty/plugins/block.render.php
index 11b727482404fded2c12eacb3e2466ffcfd24b71..83a8fea8e1e04fbcd1e276894a2070503e36f5ab 100644 (file)
}
/* 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 "<font color='blue' size='2'> ".$acl."</font>";
}
/* 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" ;