1 {**************************************************************************}
3 {* Copyright (C) 2003-2008 Polytechnique.org *}
4 {* http://opensource.polytechnique.org/ *}
6 {* This program is free software; you can redistribute it and/or modify *}
7 {* it under the terms of the GNU General Public License as published by *}
8 {* the Free Software Foundation; either version 2 of the License, or *}
9 {* (at your option) any later version. *}
11 {* This program is distributed in the hope that it will be useful, *}
12 {* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
13 {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
14 {* GNU General Public License for more details. *}
16 {* You should have received a copy of the GNU General Public License *}
17 {* along with this program; if not, write to the Free Software *}
18 {* Foundation, Inc., *}
19 {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
21 {**************************************************************************}
24 <table class="bicol" style="margin-bottom: 1em" summary="Profil : Noms">
32 <span class="titre">Nom</span><br/>
36 <input type='hidden' name='nom' {if $errors.nom}class="error"{/if} value="{$nom}" />
41 <span class="titre">Prénom</span><br/>
45 <input type='hidden' name='prenom' {if $errors.prenom}class="error"{/if} value="{$prenom}" />
50 <span class="titre">Affichage de ton nom</span>
53 {if $tooltip_name}<span title="{$tooltip_name}" class="hint">{$display_name}</span>{else}{$display_name}{/if}
54 <a href="profile/edit#names_advanced" onclick="$('.names_advanced').show();$(this).hide();document.location = document.location + '#names_advanced';return false">
55 {icon name="page_edit" title="Plus de détail"}
59 <tr class="names_advanced" style="display: none">
62 <input type="checkbox" checked="checked" disabled="disabled" />
63 {icon name="flag_green" title="site public"}
65 <span class="titre">Affichage courant de ton nom</span>
66 <a class="popup3" href="Xorg/Profil#name_displayed">{icon name="information" title="aide"}</a>
69 <input type="text" name="display_name" value="{$display_name}" size="40"/>
72 <tr class="names_advanced" style="display: none">
74 <span class="titre">explication</span>
75 <a class="popup3" href="Xorg/Profil#name_tooltip">{icon name="information" title="aide"}</a>
78 <input type="text" name="tooltip_name" value="{$tooltip_name}" size="40"/>
81 <tr class="names_advanced" style="display: none">
83 <span class="titre">ranger ce nom à</span>
84 <a class="popup3" href="Xorg/Profil#name_order">{icon name="information" title="aide"}</a>
87 <input type="text" name="sort_name" value="{$sort_name}" size="40"/>
90 <tr class="names_advanced" style="display: none">
93 <input type="checkbox" checked="checked" disabled="disabled" />
94 {icon name="flag_red" title="privé"}
96 <span class="titre">Comment on doit t'appeller</span>
97 <a class="popup3" href="Xorg/Profil#name_yourself">{icon name="information" title="aide"}</a>
100 <input type="text" name="yourself" value="{$yourself}" size="40"/>
103 <tr class="names_advanced" style="display: none">
105 <span class="titre">Recherche</span><span class="smaller">, ta fiche apparaît quand on cherche un de ces noms</span>
106 <a class="popup3" href="Xorg/Profil#name_search">{icon name="information" title="aide"}</a>
107 {iterate from=$search_names item="sn"}
108 <div id="search_name_{$sn.sn_id}" style="padding:2px" class="center">
109 {include file="profile/general.searchname.tpl" i=$sn.sn_id sn=$sn}
112 <div id="add_search_name" class="center" style="clear: both">
113 <a href="javascript:addSearchName()">
114 {icon name=add title="Ajouter un nom de recherche"} Ajouter un nom
120 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}