X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Ffiche.tpl;h=2c80d5dda0bbcdf974aec0158cbcf4ae965ecd38;hb=1f53925a716bf5cb97ed624a6787a8319eb2bcff;hp=6ed7256488cba66f521fbdced02516a75b4a117f;hpb=e8599c21fcbd18beb8551368450174f35774794a;p=platal.git
diff --git a/templates/fiche.tpl b/templates/fiche.tpl
index 6ed7256..2c80d5d 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}
@@ -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}
@@ -183,7 +183,12 @@ function chgMainWinLoc( strPage ) {
|
{/if}
{/if}
-
+{if !$logged}
+Cette fiche est publique et visible par tout internaute,
+vous pouvez aussi voir celle réservée aux X.
+ |
+{/if}
+
{* vim:set et sw=2 sts=2 sws=2: *}