Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fusiondirectory
fusiondirectory
Commits
9e40fddb
Commit
9e40fddb
authored
Mar 28, 2017
by
Côme Chilliet
Browse files
Improved a bit information given by ACL debug mode
parent
994de2bd
Changes
2
Hide whitespace changes
Inline
Side-by-side
contrib/smarty/plugins/block.render.php
View file @
9e40fddb
...
...
@@ -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*/
...
...
include/simpleplugin/class_Attribute.inc
View file @
9e40fddb
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment