X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Ffiche.tpl;h=0576af40e56f5a5ca465fb7974d9020b3d673c17;hb=18f4bfcbb60630db3d866f8076bd27f5d366fa6a;hp=f1b2994acd04d47f790b0e69c4adfa71c962884b;hpb=a11e04a6cc4461ae0a3b44094cd68dcc2a95ff1f;p=platal.git diff --git a/templates/fiche.tpl b/templates/fiche.tpl index f1b2994..0576af4 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,8 +32,8 @@ function chgMainWinLoc( strPage ) { {/literal} -{if $x.forlife eq $smarty.session.forlife} -[Modifier ma fiche] +{if $logged and $x.forlife eq $smarty.session.forlife} +[Modifier ma fiche] {/if} @@ -44,20 +44,20 @@ 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 {/if} {perms level=admin} - + admin {/perms} @@ -96,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)} @@ -107,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}
@@ -160,7 +160,7 @@ function chgMainWinLoc( strPage ) {
- {$m.medal} + {$m.medal} {$m.medal}