X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Ffiche.tpl;h=b143b966a42ade69ae25e923725240f137424568;hb=dc41059a07170bdc0be6c181a8311a0ab05018eb;hp=fa8f3e81fe793bc9846d5921e2dc0cf5f6db929e;hpb=8b10988d6ec74065073ef8ad3165f620cb2c45a7;p=platal.git diff --git a/templates/fiche.tpl b/templates/fiche.tpl index fa8f3e8..b143b96 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} @@ -43,24 +43,20 @@ function chgMainWinLoc( strPage ) { {if $x.sexe}•{/if} {$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.nickname} (alias {$x.nickname}){/if}  + {* + *}{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} @@ -75,15 +71,19 @@ function chgMainWinLoc( strPage ) {
{if $x.dcd} Décédé{if $x.sexe}e{/if} le {$x.deces|date_format} + {elseif !$x.actif} + Ce camarade n'a plus d'adresse redirection valide,
+ clique ici si tu connais son adresse email ! {elseif !$x.inscrit} - Le compte de cette personne n'est pas actif (personne non inscrite ou exclue). + Cette personne n'est pas inscrite à Polytechnique.org,
+ clique ici si tu connais son adresse email ! {else} {if $virtualalias} {$virtualalias}
{/if} - {$x.bestalias}@polytechnique.org + {$x.bestalias}@{#globals.mail.domain#} {if $x.bestalias neq $x.forlife}
- {$x.forlife}@polytechnique.org + {$x.forlife}@{#globals.mail.domain#} {/if} {/if}
@@ -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}
@@ -120,7 +120,7 @@ function chgMainWinLoc( strPage ) { {if $x.gpxs_join}
Groupe(s) X : {$x.gpxs_join|smarty:nodefaults}
{/if} {/if} {if $x.web}
Site Web : {$x.web}
{/if} - {if $x.freetext}
Commentaires :
{$x.freetext|nl2br}
{/if} + {if $x.freetext}
Commentaires :
{$x.freetext|nl2br|smarty:nodefaults}
{/if} {if $x.adr} @@ -160,7 +160,7 @@ function chgMainWinLoc( strPage ) {
- {$m.medal} + {$m.medal} {$m.medal}