X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fprofile%2Fgeneral.tpl;h=5266ababd281b4f152f5d62c134ac458714ca825;hb=7937d89ecfc74726af9ae64d9211d53e6bbcc4e5;hp=799004a588f90f542aff73790060cb2513ce70fa;hpb=ee71865181e96e7b0754ef9e7da4b3cb26f4c1d7;p=platal.git diff --git a/templates/profile/general.tpl b/templates/profile/general.tpl index 799004a..5266aba 100644 --- a/templates/profile/general.tpl +++ b/templates/profile/general.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2014 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -22,7 +22,7 @@ - + - + {if $viewPrivate} + + {/if} + {if $isMe} - + {/if} + - - {foreach from=$search_names item=sn key=id} - {include file="profile/general.searchname.tpl" i=$id sn=$sn - class="names_advanced" style="display: none" error_name=$errors.search_names} + Gestion des noms, prénoms, surnoms... + Ils déterminent la façon dont + {if $isMe}ton{else}son{/if} nom apparaît sur les annuaires + en ligne et papier et ta fiche apparaitra quand on cherche un de ces noms.
+ + + {include file="profile/general.public_names.tpl" names=$search_names.public_names} + {foreach from=$search_names.private_names key=id item=name} + {include file="profile/general.private_name.tpl"} {/foreach} - - + + + +
NomsNoms{if t($validation)} (validations en attente de modération){/if}
@@ -31,12 +31,13 @@ {$public_name} - + + {icon name="page_edit" title="Plus de détail"}
{icon name="flag_red" title="site privé"} Affichage privé @@ -44,10 +45,13 @@ {$private_name}
- Comment t'appeller
+ Comment t'appeler
sur le site, dans la lettre mensuelle...
@@ -55,30 +59,34 @@
- Gestion de tes noms, prénoms, surnoms... - Ils déterminent la façon dont ton nom apparaît sur les annuaires - en ligne et papier et ta fiche apparaitra quand on cherche un de ces noms. Pour plus - d'explications sur l'icône suivante - {icon name="information" title="Plus d'infos"}.
-
Si un de tes noms commence par une particule, - coche la case en bout de ligne.
-
+
+ Si la casse de ton nom est erronée et que tu n'arrives pas à la corriger, + contacte-nous. +
Promotion + + + + + + + - + + + {if !$isMe} + + + + + + {/if} + + - + - + + + + + +
- {if !$promo_choice} - {$promo} - + {if !t($promo_choice)} + {$profile->promo()} + {else} - {foreach from=$promo_choice item="promo_to_display"} - + {/foreach} {/if} - {icon name="page_edit" title="modifier"} + {icon name="page_edit" title="modifier"} +
Date de naissance
+ Date de décès +
+ Date de naissance de référence + + {if hasPerm('admin') && !$is_registered} + + {else} + {$birthdate_ref} + {/if} +
Nationalité - + {select_nat valeur=$nationality1 pad=1} {icon name=add title="Ajouter une nationalité"}
- + {select_nat valeur=$nationality2 pad=1} {icon name=cross title="Supprimer cette nationalité"}
- + {select_nat valeur=$nationality3 pad=1} {icon name=cross title="Supprimer cette nationalité"}
Civilité + +
+ + + + + + {foreach from=$main_edus key=eduid item=main_edu} + {cycle values="impair, pair" assign=class} + + + + + + + + + + + + + + + + + {/foreach}
+
+ + {icon name="flag_green" title="site public"} +
+ Formations à l'École polytechnique +
Cycle :{$main_edu.cycle}
Promotion :{if t($main_edu.promo_year)}{$main_edu.promo_year}{/if}
Domaine de formation : + +
Description de la formation : + + + +
@@ -161,10 +261,6 @@ {cycle values="impair, pair" assign=class} {include file="profile/general.edu.tpl" eduid=$eduid edu=$edu edu_fields=$edu_fields class=$class} {/foreach} - {if $edus|@count eq 0} - {cycle values="impair, pair" assign=class} - {include file="profile/general.edu.tpl" eduid=0 edu=0 class=$class} - {/if} {cycle values="impair, pair" assign=class} {assign var=eduaddid value=$edus|@count} @@ -178,12 +274,13 @@
- Si ta formation ne figure pas dans la liste, + Si la formation que tu cherches ne figure pas dans la liste, contacte-nous.
+{if $viewPrivate || $isMe} @@ -197,18 +294,18 @@ {if $nouvellephoto} {/if} @@ -218,11 +315,12 @@ quelque part (sur ton ordinateur ou sur Internet) d'une photo d'identité (dans un fichier au format JPEG, PNG ou GIF).
- Éditer ta photo + Éditer ta photo
-
Ta photo actuelle
-  [ PHOTO ] +
Photo actuelle
+  [ PHOTO ]
Photo en attente de validation
- + Ta fiche avec cette photo
-  [ PHOTO ] +  [ PHOTO ]
+{/if} @@ -249,15 +347,15 @@ {/if}
- + {icon name=add title="Ajouter un téléphone"} Ajouter un téléphone
- {if $email_error} + {if t($email_error)} {include file="include/emails.combobox.tpl" name="email_directory" val=$email_directory_error error=$email_error i="0"} - {else}{include file="include/emails.combobox.tpl" name="email_directory" val=$email_directory error=$email_error i="0"}{/if} + {else}{include file="include/emails.combobox.tpl" name="email_directory" val=$email_directory error=false i="0"}{/if} - + + + + {foreach from=$hobbies item=hobby key=id} + {include file="profile/general.hobby.tpl" hobby=$hobby i=$id} + {/foreach} + + + + {if $viewPrivate || $isMe} + {/if} + {if !t($isMe)} + + + + + {/if}
Messageries, networking et sites web @@ -267,13 +365,13 @@ {include file="profile/general.networking.tpl" nw=$network i=$id} {/foreach}
+
+ Sports, loisirs, hobbies… +
+ +
@@ -306,6 +422,21 @@ id="freetext" rows="8" cols="50" >{$freetext}
+
+ Commentaire AX +
+
+ + +
-{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} +{* vim:set et sw=2 sts=2 sws=2 fenc=utf-8: *}