2006 => 2007 Happy New Year\!
[platal.git] / templates / profile / edit.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
5ddeb07c 3{* Copyright (C) 2003-2007 Polytechnique.org *}
0337d704 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{if $etat_naissance}
24{include file="profil/naissance.tpl"}
25{/if}
26{if $etat_naissance == '' || $etat_naissance == 'ok'}
27
28{foreach from=$errs item=e}
29<p class="erreur">{$e}</p>
30{/foreach}
31
e8599c21 32<p>
7b2413f6 33Tu peux consulter <a href="profile/{$smarty.session.forlife}" class="popup2">l'état actuel de ta fiche</a>
e8599c21 34telle qu'elle apparaîtra pour un camarade, ou telle qu'elle apparaîtra dans l'annuaire de
7b2413f6 35l'<a href="profile/{$smarty.session.forlife}?view=ax" class="popup2">AX</a>
36ou à <a href="profile/{$smarty.session.forlife}?view=public" class="popup2">tout le monde</a>.</p>
0337d704 37
7b2413f6 38<form action="profile/edit/{$onglet}" method="post" id="prof_annu">
0337d704 39 <table class="cadre_a_onglet" cellpadding="0" cellspacing="0" style="width: 98%; margin-left:1%;">
40 <tr>
41 <td>
42 <ul id='onglet'>
43 {foreach from=$onglets key=o item=i}
44 {if $o eq $onglet}
45 <li class="actif">{$i|nl2br}</li>
46 {else}
7b2413f6 47 <li><a href="profile/edit/{$o}">{$i|nl2br}</a></li>
0337d704 48 {/if}
49 {/foreach}
50 </ul>
0337d704 51 <input type="hidden" value="" name="adresse_flag" />
52 </td>
53 </tr>
54 <tr>
55 <td class="conteneur_tab">
56 <table style="width:100%">
57 <tr>
58 <td colspan="2">
59 {include file=$onglet_tpl}
60 </td>
61 </tr>
62 <tr class="center">
63 <td>
64 <input type="submit" value="Valider ces modifications" name="modifier" />
65 </td>
0337d704 66 <td>
67 <input type="submit" value="Valider et passer au prochain onglet" name="suivant" />
68 </td>
0337d704 69 </tr>
70 </table>
71 </td>
72 </tr>
73 </table>
74</form>
75{/if}
76
77{* vim:set et sw=2 sts=2 sws=2: *}