X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Ffiche.tpl;h=0f3fa2ff1ab43047af0e6ff29c062b455bb26fcb;hb=ea3930d062ec9c51d077f23d2855ab216f3af3ba;hp=26865cb6fbc02f469324af2970812c1de098ef1e;hpb=2c3262731cb7d05c202fa474cab9fa810defcc85;p=platal.git diff --git a/templates/fiche.tpl b/templates/fiche.tpl index 26865cb..0f3fa2f 100644 --- a/templates/fiche.tpl +++ b/templates/fiche.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2004 Polytechnique.org *} +{* Copyright (C) 2003-2006 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -32,6 +32,10 @@ function chgMainWinLoc( strPage ) { {/literal} +{if $logged and $x.forlife eq $smarty.session.forlife} +[Modifier ma fiche] +{/if} +
@@ -40,23 +44,23 @@ function chgMainWinLoc( strPage ) { {$x.prenom} {if $x.nom_usage eq ""}{$x.nom}{else}{$x.nom_usage} ({$x.nom}){/if} {if $logged} {if $x.nickname} (aka {$x.nickname}){/if}  - + Afficher la carte de visite {if !$x.is_contact} - + Ajouter à mes contacts {else} - - Retirer de mes contacts + + {icon name=cross title="Retirer de mes contacts"} {/if} - {perms level=admin} - + {if $smarty.session.perms eq admin} + admin - {/perms} + {/if} {/if} {if $logged} @@ -92,7 +96,7 @@ function chgMainWinLoc( strPage ) { {/if}
{if $x.iso3166} - {$x.nationalite}  + {$x.nationalite}  {/if} X {$x.promo} {if ($x.promo_sortie-3 > $x.promo)} @@ -103,7 +107,7 @@ function chgMainWinLoc( strPage ) { {/if} {if $logged} {if $x.is_referent} - [Ma fiche référent] + [Ma fiche référent] {/if} {/if}
@@ -156,7 +160,7 @@ function chgMainWinLoc( strPage ) {
- {$m.medal} + {$m.medal} {$m.medal}