X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fgeneral.tpl;h=f38066b720c7c9fd1bd288cd2ac51224ae2bedb6;hb=42ec0fe2dd9e21554460f71ec886eda546ef9cbe;hp=4e3bdc4bf4df08630d9d71bdcc91c4ea13fbbb9b;hpb=e46cf8c46341b447cc3701c8afcc9baec3da11e5;p=platal.git diff --git a/templates/profile/general.tpl b/templates/profile/general.tpl index 4e3bdc4..f38066b 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 $viewPrivate} + + {/if} + {if $isMe} + {/if} - + + + + + + + @@ -116,6 +142,14 @@ + {if !$isMe} + + + + + {/if} @@ -178,12 +208,13 @@
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,7 +45,10 @@ {$private_name}
Comment t'appeller
@@ -55,10 +59,12 @@
- Gestion de tes noms, prénoms, surnoms... - Ils déterminent la façon dont ton nom apparaît sur les annuaires + 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. Pour plus d'explications sur l'icône suivante {icon name="information" title="Plus d'infos"}.
@@ -71,9 +77,9 @@ class="names_advanced" style="display: none" error_name=$errors.search_names} {/foreach}
+ @@ -97,17 +103,37 @@ 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 décès +
Nationalité @@ -161,10 +195,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}
- 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,7 +228,7 @@ {if $nouvellephoto} @@ -218,11 +249,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 actuelle
 [ PHOTO ]
+{/if} @@ -249,15 +281,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} - + {if $viewPrivate || $isMe} + {/if}
Messageries, networking et sites web @@ -267,13 +299,13 @@ {include file="profile/general.networking.tpl" nw=$network i=$id} {/foreach}
+
@@ -306,6 +339,7 @@ id="freetext" rows="8" cols="50" >{$freetext}
{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}