X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fprofile.tpl;h=a9fd0499d4a59fcbfd2acff9b54f07c24e04eb17;hb=dc6378df04a613f3a65ae5e501b65de64a672b9a;hp=d255e014c29cbe76c66121ca632963d2f0746ee9;hpb=e84395087d3ab4d549be6fad7d6c7296601796ff;p=platal.git
diff --git a/templates/profile/profile.tpl b/templates/profile/profile.tpl
index d255e01..a9fd049 100644
--- a/templates/profile/profile.tpl
+++ b/templates/profile/profile.tpl
@@ -1,6 +1,6 @@
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2007 Polytechnique.org *}
+{* Copyright (C) 2003-2008 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@ -43,10 +43,26 @@ function chgMainWinLoc(strPage)
{if $photo_url}
![Photo de {$x.forlife}]({$photo_url})
{/if}
{if $logged && ( $x.section|smarty:nodefaults || $x.binets_join|smarty:nodefaults || $x.gpxs_join|smarty:nodefaults)}
-
A l'X...
+
à l'X...
{if $x.section}
Section : {$x.section}
{/if}
- {if $x.binets_join}
Binet(s) : {$x.binets_join}
{/if}
- {if $x.gpxs_join}
Groupe(s) et institution(s) X :
{$x.gpxs_join|smarty:nodefaults}
{/if}
+ {if $x.binets_join}
Binet{if count($x.binets) > 1}s{/if} :
+ {$x.binets_join}
{/if}
+ {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} {$network.name}](profile/networking/{$network.type})
+ {if $network.filter == 'web'}
+
{$network.address}
+ {elseif $network.link != ''}
+
{$network.address}
+ {else}
+ {$network.address}
+ {/if}
+
+ {/foreach}
{/if}
{if $x.freetext}
Commentaires :
@@ -60,15 +76,14 @@ function chgMainWinLoc(strPage)
{if $logged}
{if $x.nickname} (alias {$x.nickname}){/if}
{/if}
- {if $x.web}
{icon name="world_go" title="Site Web"}{/if}
{if $logged}
-
{*
- *}{icon name=vcard title="Afficher la carte de visite"}
+ {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')}
@@ -172,7 +187,7 @@ function chgMainWinLoc(strPage)
Distinctions :
{foreach from=$x.medals item=m}
-
![{$m.medal} {$m.medal}](profile/medal/{$m.id})
+
{$m.medal}
{$m.grade}
@@ -187,13 +202,19 @@ function chgMainWinLoc(strPage)
{$x.cv|miniwiki:title|smarty:nodefaults}
{/if}
- {if !$logged}
+ {if $view eq 'public'}
+ {elseif $view eq 'ax'}
+
+
+ Cette fiche est privée et ne recense que les informations transmises à l'AX.
+
+
{/if}