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}
-
-
-
+ {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}
@@ -75,15 +71,19 @@ function chgMainWinLoc( strPage ) {
@@ -96,7 +96,7 @@ function chgMainWinLoc( strPage ) {
{/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 :
{/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}
|