X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fgeneral.tpl;h=fbe27db54b9ecfccc36b65d8a282be5199874ae9;hb=87db81e71e24db248d1a5059dcd28781b0e2e75f;hp=5d5ef55d31c919e115ae0ca2ffcf047167fed198;hpb=e1082e206561844a788977f3ea676f78e4112a68;p=platal.git diff --git a/templates/profile/general.tpl b/templates/profile/general.tpl index 5d5ef55..fbe27db 100644 --- a/templates/profile/general.tpl +++ b/templates/profile/general.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -22,7 +22,7 @@ - + - + + + + + + + - + + + {if !$smarty.session.user->isMe($owner)} + + + + {/if} - + - + @@ -161,10 +184,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} @@ -184,39 +203,6 @@
NomsNoms{if t($validation)} (validations en attente de modération){/if}
@@ -71,9 +71,9 @@ class="names_advanced" style="display: none" error_name=$errors.search_names} {/foreach}
+ @@ -97,50 +97,73 @@ Promotion - {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 +
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é"}
-{if !$no_private_key} - - - - - - - - - - -
- Synchronisation avec l'AX -
- - {icon name="flag_orange" title="transmis à l'AX"} - - Autoriser la synchronisation vers l'AX par des administrateurs ou des scripts automatiques. - -
-

- Le service annuaire de l'AX met à jour l'annuaire papier à partir des informations que tu lui fournis. Tu peux choisir ici d'envoyer directement les données de ta fiche Polytechnique.org vers ta fiche AX. -

-

- L'opération de synchronisation prend en compte toutes les informations que tu as marquées comme transmises à l'AX (en orange ou en vert). Elle peut alors effacer, modifier ou rajouter des informations sur ta fiche AX selon ce qui s'y trouve déjà. -

-

- -

-
-{/if} - @@ -231,17 +217,17 @@ {if $nouvellephoto} {/if} @@ -251,7 +237,7 @@ 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
@@ -282,15 +268,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} - -
Ta photo actuelle
-  [ PHOTO ] +  [ PHOTO ]
Photo en attente de validation
- + Ta fiche avec cette photo
-  [ PHOTO ] +  [ PHOTO ]
Messageries, networking et sites web @@ -300,13 +286,13 @@ {include file="profile/general.networking.tpl" nw=$network i=$id} {/foreach}
+