projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pending commit, finished during MQ/S download ...
[platal.git]
/
plugins
/
block.perms.php
diff --git
a/plugins/block.perms.php
b/plugins/block.perms.php
index
56299f2
..
51ff85d
100644
(file)
--- a/
plugins/block.perms.php
+++ b/
plugins/block.perms.php
@@
-33,7
+33,7
@@
function smarty_block_perms($params, $content, &$smarty)
if( empty($content) || empty($params['level'] ))
return;
if( ($params['level'] == 'public') ||
if( empty($content) || empty($params['level'] ))
return;
if( ($params['level'] == 'public') ||
- ($params['level'] == 'admin' && has_perms()) )
+ ($params['level'] == 'admin' &&
S::
has_perms()) )
return $content;
}
?>
return $content;
}
?>