X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Ftrombi.tpl;h=91a0c3e84481b98f77878145287b350e355a063c;hb=7c1edf78427ab5324278e3a2bcb65c50ba4e937c;hp=83192b9b90b1e43d1cc30ea1f1d65ae99ad95631;hpb=a7de4ef724d1a3b0bf978a50ce7cc9d23412c7a0;p=platal.git diff --git a/templates/include/trombi.tpl b/templates/include/trombi.tpl index 83192b9..91a0c3e 100644 --- a/templates/include/trombi.tpl +++ b/templates/include/trombi.tpl @@ -31,7 +31,7 @@  [ PHOTO ] - {if $trombi_admin && $smarty.session.perms eq 'admin' && !$urlmainsite} + {if $trombi_admin && hasPerm('admin') && !$urlmainsite} {icon name=wrench title="[admin]"} {/if}