X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Ffiche.tpl;h=78689f7d11a81a5c66c600b84f77e3962d6c1249;hb=f78bc355e0e2f3af09467e40cf3bba34f57d40c1;hp=132ad0ecbbf2284aeec8b6b9a299991d1f24de1f;hpb=28e16d4d9c998a5bb07b7922b4b9e361953df699;p=platal.git
diff --git a/templates/fiche.tpl b/templates/fiche.tpl
index 132ad0e..78689f7 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}
@@ -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}
-
-
-
+ {*
+ *}{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}
|