X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fprofile%2Fprofile.tpl;h=7aa9c0ca8ca2a6eda3dcc76faeb801022cc81e84;hb=5b2c99878fc75a6acffb2239e284f2cb1782142c;hp=54c6b07ccd0ac67c1c116ec6fc6f351f85bc2099;hpb=078dc884ad06f8880b7372660ce34ae2450718da;p=platal.git diff --git a/templates/profile/profile.tpl b/templates/profile/profile.tpl index 54c6b07..7aa9c0c 100644 --- a/templates/profile/profile.tpl +++ b/templates/profile/profile.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2009 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -41,7 +41,7 @@ function chgMainWinLoc(strPage)
- {if $photo_url}Photo de {$x.forlife}{/if} + {if $photo_url}Photo de {$user->login()}{/if} {if $logged && ( $x.section|smarty:nodefaults || $x.binets_join|smarty:nodefaults || $x.gpxs_join|smarty:nodefaults)}

À l'X...

{if $x.section}
Section : {$x.section}
{/if} @@ -71,26 +71,26 @@ function chgMainWinLoc(strPage)
- {if $x.sexe}•{/if} + {if $user->isFemale()}•{/if} {$x.name_display} {if $logged} {if $x.nickname} (alias {$x.nickname}){/if} {/if} {if $logged} -  {if !$x.dcd}{* +  {if !$x.dcd}{* *}{icon name=vcard title="Afficher la carte de visite"}{/if} {if !$x.is_contact} - + {icon name=add title="Ajouter à mes contacts"} {else} - + {icon name=cross title="Retirer de mes contacts"} {/if} {if hasPerm('admin')} - + {icon name=wrench title="administrer user"} {/if} - {if $x.forlife eq $smarty.session.forlife} + {if $user->login() eq $smarty.session.hruid} {icon name="user_edit" title="Modifier ma fiche"} {/if} {/if} @@ -106,20 +106,20 @@ function chgMainWinLoc(strPage) {if $logged} @@ -140,18 +140,19 @@ function chgMainWinLoc(strPage) {if $x.iso3166_3} {$x.nationalite3}  {/if} - X {$x.promo} - {if ($x.promo_sortie-3 > $x.promo)} - - X {math equation="a-b" a=$x.promo_sortie b=3} - {/if} - {if $x.education} -  - Formation : {$x.education|smarty:nodefaults} - {/if} + {$user->promo()} {if $logged && $x.is_referent} [Ma fiche référent] {/if} + {if $x.education} +  - Formation : +
    + {foreach from=$x.education item="edu"} +
  • {$edu|smarty:nodefaults}
  • + {/foreach} +
+ {/if} {if $x.corps} -
{$x.corps|smarty:nodefaults} {/if}
@@ -214,7 +215,7 @@ function chgMainWinLoc(strPage)
Cette fiche est publique et visible par tout internaute,
- vous pouvez aussi voir celle réservée aux X. + vous pouvez aussi voir celle réservée aux X.
{elseif $view eq 'ax'}