projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05023b9
)
Removes warning.
author
Stéphane Jacob
<sj@m4x.org>
Sun, 8 Aug 2010 14:13:20 +0000
(16:13 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Sun, 8 Aug 2010 14:13:20 +0000
(16:13 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
templates/xnet/skin.tpl
patch
|
blob
|
blame
|
history
diff --git
a/templates/xnet/skin.tpl
b/templates/xnet/skin.tpl
index
b8a29af
..
d8d411f
100644
(file)
--- a/
templates/xnet/skin.tpl
+++ b/
templates/xnet/skin.tpl
@@
-112,7
+112,7
@@
{/foreach}
{if t($asso)}{assign var=asso_id value=$asso->id}{/if}
{if t($smarty.session.suid)}{assign var=suid value=true}{else}{assign var=suid value=false}{/if}
- {if
$asso
&& $is_admin ||
+ {if
t($asso)
&& $is_admin ||
($suid && ($smarty.session.suid.perms->hasFlag('admin') ||
$smarty.session.suid.may_update[$asso_id]))}
<h1>Voir le site comme…</h1>