X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Ftrombi.tpl;h=73c2d33dbb656bc8021e7ac0b1aea0fa20e54653;hb=486d15fb147bfd5e2b2ff71b22ad5b2ca0e43878;hp=83192b9b90b1e43d1cc30ea1f1d65ae99ad95631;hpb=a7de4ef724d1a3b0bf978a50ce7cc9d23412c7a0;p=platal.git
diff --git a/templates/include/trombi.tpl b/templates/include/trombi.tpl
index 83192b9..73c2d33 100644
--- a/templates/include/trombi.tpl
+++ b/templates/include/trombi.tpl
@@ -1,6 +1,6 @@
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2007 Polytechnique.org *}
+{* Copyright (C) 2003-2009 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@ -31,13 +31,13 @@
- {if $trombi_admin && $smarty.session.perms eq 'admin' && !$urlmainsite}
+ {if $trombi_admin && hasPerm('admin') && !$urlmainsite}
{icon name=wrench title="[admin]"}
{/if}
{if $loop eq "3"}