| 1 | {**************************************************************************} |
| 2 | {* *} |
| 3 | {* Copyright (C) 2003-2008 Polytechnique.org *} |
| 4 | {* http://opensource.polytechnique.org/ *} |
| 5 | {* *} |
| 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. *} |
| 10 | {* *} |
| 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. *} |
| 15 | {* *} |
| 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 *} |
| 20 | {* *} |
| 21 | {**************************************************************************} |
| 22 | |
| 23 | |
| 24 | <table class="bicol" style="margin-bottom: 1em" summary="Profil : Noms"> |
| 25 | <tr> |
| 26 | <th colspan="2"> |
| 27 | Noms |
| 28 | </th> |
| 29 | </tr> |
| 30 | <tr> |
| 31 | <td> |
| 32 | <span class="titre">Nom</span><br/> |
| 33 | </td> |
| 34 | <td> |
| 35 | {$nom} |
| 36 | <input type='hidden' name='nom' {if $errors.nom}class="error"{/if} value="{$nom}" /> |
| 37 | </td> |
| 38 | </tr> |
| 39 | <tr> |
| 40 | <td> |
| 41 | <span class="titre">Prénom</span><br/> |
| 42 | </td> |
| 43 | <td> |
| 44 | {$prenom} |
| 45 | <input type='hidden' name='prenom' {if $errors.prenom}class="error"{/if} value="{$prenom}" /> |
| 46 | </td> |
| 47 | </tr> |
| 48 | <tr> |
| 49 | <td> |
| 50 | <span class="titre">Affichage de ton nom</span> |
| 51 | </td> |
| 52 | <td> |
| 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"} |
| 56 | </a> |
| 57 | </td> |
| 58 | </tr> |
| 59 | <tr class="names_advanced" style="display: none"> |
| 60 | <td> |
| 61 | <span class="flags"> |
| 62 | <input type="checkbox" checked="checked" disabled="disabled" /> |
| 63 | {icon name="flag_green" title="site public"} |
| 64 | </span> |
| 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> |
| 67 | </td> |
| 68 | <td> |
| 69 | <input type="text" name="display_name" value="{$display_name}" size="40"/> |
| 70 | </td> |
| 71 | </tr> |
| 72 | <tr class="names_advanced" style="display: none"> |
| 73 | <td> |
| 74 | <span class="titre">explication</span> |
| 75 | <a class="popup3" href="Xorg/Profil#name_tooltip">{icon name="information" title="aide"}</a> |
| 76 | </td> |
| 77 | <td> |
| 78 | <input type="text" name="tooltip_name" value="{$tooltip_name}" size="40"/> |
| 79 | </td> |
| 80 | </tr> |
| 81 | <tr class="names_advanced" style="display: none"> |
| 82 | <td> |
| 83 | <span class="titre">ranger ce nom à</span> |
| 84 | <a class="popup3" href="Xorg/Profil#name_order">{icon name="information" title="aide"}</a> |
| 85 | </td> |
| 86 | <td> |
| 87 | <input type="text" name="sort_name" value="{$sort_name}" size="40"/> |
| 88 | </td> |
| 89 | </tr> |
| 90 | <tr class="names_advanced" style="display: none"> |
| 91 | <td> |
| 92 | <span class="flags"> |
| 93 | <input type="checkbox" checked="checked" disabled="disabled" /> |
| 94 | {icon name="flag_red" title="privé"} |
| 95 | </span> |
| 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> |
| 98 | </td> |
| 99 | <td> |
| 100 | <input type="text" name="yourself" value="{$yourself}" size="40"/> |
| 101 | </td> |
| 102 | </tr> |
| 103 | <tr class="names_advanced" style="display: none"> |
| 104 | <td colspan="2"> |
| 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} |
| 110 | </div> |
| 111 | {/iterate} |
| 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 |
| 115 | </a> |
| 116 | </div> |
| 117 | </td> |
| 118 | </table> |
| 119 | |
| 120 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |