diff --git a/contrib/smarty/plugins/block.render.php b/contrib/smarty/plugins/block.render.php index 752058800b475b8f26784c2169c2e6df0bec259d..b8308571fc4a0fc5dad88cbe6f8f9b3c143e6f7d 100644 --- a/contrib/smarty/plugins/block.render.php +++ b/contrib/smarty/plugins/block.render.php @@ -34,7 +34,7 @@ function smarty_block_render($params, $text, &$smarty) /* Debug output */ if (session::is_set('DEBUGLEVEL') && session::get('DEBUGLEVEL') & DEBUG_ACL ) { - echo '<div style="color:blue;">'.$acl.'</div>'; + echo '<div style="color:blue;">'.$acl.(isset($params['aclName']) ? ' ['.$params['aclName'].']' : '').'</div>'; } /* Read / Write*/ diff --git a/include/simpleplugin/class_Attribute.inc b/include/simpleplugin/class_Attribute.inc index 673c1faa622627be718efcb293b4503af15d1a5b..5e6328658d443e8c4ceb871e8f01f89458b21e3b 100644 --- a/include/simpleplugin/class_Attribute.inc +++ b/include/simpleplugin/class_Attribute.inc @@ -613,7 +613,7 @@ class Attribute */ function renderAcl($display) { - return '{render acl=$'.$this->getAcl()."ACL}\n$display\n{/render}"; + return '{render aclName="'.$this->getAcl().'" acl=$'.$this->getAcl()."ACL}\n$display\n{/render}"; } /*! \brief Get ACL information about the ACL we need to create