X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Ffiche.tpl;h=2c80d5dda0bbcdf974aec0158cbcf4ae965ecd38;hb=1f53925a716bf5cb97ed624a6787a8319eb2bcff;hp=3d1126de94d50ea7138e7e7446ae616993d87a1c;hpb=0337d704b62718d7c77106c0e4c4e26fb02beacf;p=platal.git diff --git a/templates/fiche.tpl b/templates/fiche.tpl index 3d1126d..2c80d5d 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} +
@@ -35,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}
-
- ![]() ![]() ![]() ![]()
{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,
@@ -88,7 +96,7 @@ function chgMainWinLoc( strPage ) {
{/if}
+ 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 - {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}
{if $x.iso3166}
-
@@ -112,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 : {/if}
+ {if $x.freetext}{$x.freetext|nl2br} Commentaires : {/if}
{$x.freetext|nl2br|smarty:nodefaults} |
- |
{$m.medal} @@ -175,7 +183,12 @@ function chgMainWinLoc( strPage ) { |