X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Ffiche.tpl;h=10ec18255188585671373f68427efc1976d83130;hb=8d8f76072d8a363c3b24cfd0f2728bdc5754ec7f;hp=3d1126de94d50ea7138e7e7446ae616993d87a1c;hpb=0337d704b62718d7c77106c0e4c4e26fb02beacf;p=platal.git diff --git a/templates/fiche.tpl b/templates/fiche.tpl index 3d1126d..10ec182 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 *} @@ -23,11 +23,19 @@ {literal} {/literal} +{if $logged and $x.forlife eq $smarty.session.forlife} +[Modifier ma fiche] +{/if} +
@@ -36,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} @@ -73,9 +77,9 @@ function chgMainWinLoc( strPage ) { {if $virtualalias} {$virtualalias}
{/if} - {$x.bestalias}@polytechnique.org - {if $bestalias neq $x.forlife}
- {$x.forlife}@polytechnique.org + {$x.bestalias}@{#globals.mail.domain#} + {if $x.bestalias neq $x.forlife}
+ {$x.forlife}@{#globals.mail.domain#} {/if} {/if} @@ -88,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)} @@ -99,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}
@@ -152,7 +156,7 @@ function chgMainWinLoc( strPage ) {
- {$m.medal} + {$m.medal} {$m.medal}