X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fprofile.tpl;h=405e3af72d101df50a46987b042b8818afd2103c;hb=4b239f6e6cb26cdd814b42f3efcbcae40fa862a4;hp=138fca4f69e37dcc1fd8c2a034abecbca2adba51;hpb=2925df1bd6cb08c1f29822019fcb82e59f63f8a3;p=platal.git diff --git a/templates/profile/profile.tpl b/templates/profile/profile.tpl index 138fca4..405e3af 100644 --- a/templates/profile/profile.tpl +++ b/templates/profile/profile.tpl @@ -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} @@ -50,6 +50,20 @@ function chgMainWinLoc(strPage) {if $x.gpxs_join}
Groupe{if count($x.gpxs) > 1}s{/if} et institution{if count($x.gpxs) > 1}s{/if} X :
{$x.gpxs_join|smarty:nodefaults}
{/if} {/if} + {if $x.networking} +

Sur le web...

+ {foreach from=$x.networking item=network} + {$network.name} + {if $network.filter == 'web'} + {$network.address} + {elseif $network.link != ''} + {$network.address} + {else} + {$network.address} + {/if} +
+ {/foreach} + {/if} {if $x.freetext}

Commentaires :

{$x.freetext|miniwiki|smarty:nodefaults} @@ -57,27 +71,26 @@ function chgMainWinLoc(strPage)
- {if $x.sexe}•{/if} - {$x.prenom} {if $x.nom_usage eq ""}{$x.nom}{else}{$x.nom_usage} ({$x.nom}){/if} + {if $user->isFemale()}•{/if} + {$x.name_display} {if $logged} {if $x.nickname} (alias {$x.nickname}){/if} {/if} - {if $x.web} {icon name="world_go" title="Site Web"}{/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} @@ -88,51 +101,60 @@ function chgMainWinLoc(strPage) le {$x.date|date_format}
{/if} - {if $logged || $x.mobile} + {if $logged || $x.tels}
{if $logged} {/if} - {if $x.mobile} -
- Mobile : {$x.mobile} -
+ {if $x.tels} + {display_phones tels=$x.tels} {/if}
{/if}
- {if $x.iso3166} - {$x.nationalite}  + {if $x.iso3166_1} + {$x.nationalite}  {/if} - X {$x.promo} - {if ($x.promo_sortie-3 > $x.promo)} - - X {math equation="a-b" a=$x.promo_sortie b=3} + {if $x.iso3166_2} + {$x.nationalite2}  {/if} - {if $x.applis_join} -  - Formation : {$x.applis_join|smarty:nodefaults} + {if $x.iso3166_3} + {$x.nationalite3}  {/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}
{if $x.adr} @@ -193,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'}