X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Ffiche.tpl;h=5057fa1884c611400f37efa8b3957e2833b20190;hb=bf8206c7bd7d9bf217674299588dacd5fea338f6;hp=fa8f3e81fe793bc9846d5921e2dc0cf5f6db929e;hpb=8b10988d6ec74065073ef8ad3165f620cb2c45a7;p=platal.git diff --git a/templates/fiche.tpl b/templates/fiche.tpl index fa8f3e8..5057fa1 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 *} @@ -33,7 +33,7 @@ function chgMainWinLoc( strPage ) { {/literal} {if $logged and $x.forlife eq $smarty.session.forlife} -[Modifier ma fiche] +[Modifier ma fiche] {/if} @@ -44,23 +44,19 @@ 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 - + {* + *}{icon name=vcard title="Afficher la carte de visite"} {if !$x.is_contact} - - Ajouter à mes contacts - + + {icon name=add title="Ajouter à mes contacts"} {else} - - Retirer de mes contacts - + + {icon name=cross title="Retirer de mes contacts"} + {/if} + {if $smarty.session.perms eq admin} + + {icon name=wrench title="administrer user"} {/if} - {perms level=admin} - - admin - - {/perms} {/if} {if $logged} @@ -96,7 +92,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 +103,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 +156,7 @@ function chgMainWinLoc( strPage ) {
- {$m.medal} + {$m.medal} {$m.medal}