X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Fminifiche.tpl;h=b1ff3561bc9c4a76502cc25ad513fac3138e7a50;hb=f4f8db6b5d4bd44062868f631c6aa959d22c3022;hp=8ec322731fa5bdc28e56df0b1ee655b64ec6c2ed;hpb=d216d84a490a18e7549774c23cea0b3746d0b049;p=platal.git diff --git a/templates/include/minifiche.tpl b/templates/include/minifiche.tpl index 8ec3227..b1ff356 100644 --- a/templates/include/minifiche.tpl +++ b/templates/include/minifiche.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} +{* Copyright (C) 2003-2007 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -45,6 +45,7 @@ {/if} +
{if $smarty.session.auth ge AUTH_COOKIE} {if !$c.wasinscrit && !$c.dcd} @@ -73,17 +74,17 @@ {/if} {if $smarty.session.perms eq admin} - {if !$c.wasinscrit && !$c.dcd} - [{* - *}{icon name=wrench title="marketter user"} - {elseif $c.wasinscrit} - [{* - *}{icon name=wrench title="administrer user"} + [{if !$c.wasinscrit && !$c.dcd} + {* + *}{icon name=email title="marketter user"} {/if} + {* + *}{icon name=wrench title="administrer user"} {* *}{icon name=user_gray title="fiche AX"}] {/if}
+
{if $c.wasinscrit} @@ -122,7 +123,7 @@ {$c.freetext|nl2br} {/if} - {if !$c.dcd && !$c.actif && $c.wasinscrit} + {if !$c.dcd && !$c.actif && $c.wasinscrit && $smarty.session.auth ge AUTH_COOKIE} Ce camarade n'a plus d'adresse redirection valide.