X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Ffiche.tpl;h=916ca5a9b5c3f64a86c3abe0fcaf06a383e73bb8;hb=89460d9c89333fa05bea98bd89211f79a876671b;hp=6750a3952f51d9fa44bc5558bf38c7495eb9ccde;hpb=2f678da163eb9d8720145557a569aba7364f05c4;p=platal.git
diff --git a/templates/fiche.tpl b/templates/fiche.tpl
index 6750a39..916ca5a 100644
--- a/templates/fiche.tpl
+++ b/templates/fiche.tpl
@@ -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}
-
-
-
+ {if $x.nickname} (alias {$x.nickname}){/if}
+ {*
+ *}{icon name=vcard title="Afficher la carte de visite"}
{if !$x.is_contact}
-
-
-
+
+ {icon name=add title="Ajouter à mes contacts"}
{else}
-
-
-
+
+ {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}
-
-
-
- {/perms}
{/if}
{if $logged}
@@ -81,9 +77,9 @@ function chgMainWinLoc( strPage ) {
{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 +92,7 @@ function chgMainWinLoc( strPage ) {
{/if}
@@ -120,7 +116,7 @@ function chgMainWinLoc( strPage ) {
{if $x.gpxs_join}Groupe(s) X : {$x.gpxs_join|smarty:nodefaults}
{/if}
{/if}
{if $x.web}Site 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 +156,7 @@ function chgMainWinLoc( strPage ) {
-
+
|
{$m.medal}
|