prise en compte des pub ax ou private dans la fonction get_user_detail
[platal.git] / templates / profil.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
8b10988d 3{* Copyright (C) 2003-2006 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
32<p>Tu peux consulter <a href="{rel}/fiche.php?user={$smarty.session.forlife}" class="popup2">l'état actuel de ta fiche</a>
237b6585 33telle qu'elle apparaîtra pour un camarade,
8b10988d 34ou telle qu'elle apparaîtra dans l'annuaire de l'<a href="{rel}/fiche.php?user={$smarty.session.forlife}&amp;view=ax" class="popup2">AX</a> ou à <a href="{rel}/fiche.php?user={$smarty.session.forlife}&amp;view=public" class="popup2">tout le monde</a>.</p>
0337d704 35
36<form action="{$smarty.server.PHP_SELF}" method="post" id="prof_annu">
37 <table class="cadre_a_onglet" cellpadding="0" cellspacing="0" style="width: 98%; margin-left:1%;">
38 <tr>
39 <td>
40 <ul id='onglet'>
41 {foreach from=$onglets key=o item=i}
42 {if $o eq $onglet}
43 <li class="actif">{$i|nl2br}</li>
44 {else}
45 <li><a href="{$smarty.server.PHP_SELF}?old_tab={$o}">{$i|nl2br}</a></li>
46 {/if}
47 {/foreach}
48 </ul>
49 <input type="hidden" value="{$onglet}" name="old_tab" />
50 <input type="hidden" value="" name="adresse_flag" />
51 </td>
52 </tr>
53 <tr>
54 <td class="conteneur_tab">
55 <table style="width:100%">
56 <tr>
57 <td colspan="2">
58 {include file=$onglet_tpl}
59 </td>
60 </tr>
61 <tr class="center">
62 <td>
63 <input type="submit" value="Valider ces modifications" name="modifier" />
64 </td>
65 {if $onglet != $onglet_last}
66 <td>
67 <input type="submit" value="Valider et passer au prochain onglet" name="suivant" />
68 </td>
e686e4ed 69 {else}
70 <td>
71 <input type="submit" value="Valider et revenir au premier onglet" name="suivant" />
72 </td>
0337d704 73 {/if}
74 </tr>
75 </table>
76 </td>
77 </tr>
78 </table>
79</form>
80{/if}
81
82{* vim:set et sw=2 sts=2 sws=2: *}