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} + {if $x.adr} @@ -152,7 +160,7 @@ function chgMainWinLoc( strPage ) {
@@ -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}  - - Afficher la carte de visite - + {if $x.nickname} (alias {$x.nickname}){/if}  + {* + *}{icon name=vcard title="Afficher la carte de visite"} {if !$x.is_contact} - - Ajouter à mes contacts - + + {icon name=add title="Ajouter à mes contacts"} {else} - - Retirer de mes contacts - + + {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} - - admin - - {/perms} {/if} {if $logged} @@ -67,15 +71,19 @@ function chgMainWinLoc( strPage ) { @@ -88,7 +96,7 @@ function chgMainWinLoc( strPage ) { {/if}
{if $x.iso3166} - {$x.nationalite}  + {$x.nationalite}  {/if} X {$x.promo} {if ($x.promo_sortie-3 > $x.promo)} @@ -99,7 +107,7 @@ function chgMainWinLoc( strPage ) { {/if} {if $logged} {if $x.is_referent} - [Ma fiche référent] + [Ma fiche référent] {/if} {/if}
@@ -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 :
{$x.freetext|nl2br}
{/if} + {if $x.freetext}
Commentaires :
{$x.freetext|nl2br|smarty:nodefaults}
{/if}
{/if} {/if} -
- {$m.medal} + {$m.medal} {$m.medal} @@ -175,7 +183,12 @@ function chgMainWinLoc( strPage ) {
+{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: *}