Merge remote branch 'origin/platal-1.0.1'
[platal.git] / templates / profile / base.tpl
CommitLineData
fd38b30e
FB
1{**************************************************************************}
2{* *}
9f5bd98e 3{* Copyright (C) 2003-2010 Polytechnique.org *}
fd38b30e
FB
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
42ec0fe2
FB
23{assign var=isMe value=$smarty.session.user->isMyProfile($profile)}
24{if hasPerm('directory_private')}
25{assign var=viewPrivate value=true}
26{/if}
27
93553cea 28<form action="{$wiz_baseurl}/{$lookup[$current]}" method="post" id="prof_annu">
8827fc52 29 {xsrf_token_field}
fd38b30e 30 <div>
42ec0fe2
FB
31 {icon name=information title="Voir ma fiche"} Tu peux consulter
32 {if $smarty.session.user->isMyProfile($profile)}ta{else}cette{/if} fiche telle que la
3b33e577 33 voient <a class="popup2" href="profile/{$profile->hrpid}?view=public">n'importe quel internaute</a>,
42ec0fe2
FB
34 <a class="popup2" href="profile/{$profile->hrpid}?view=ax">l'AX</a>{if hasPerm('directory_private')}ou
35 <a class="popup2" href="profile/{$profile->hrpid}">les X</a>{/if}.
ee12da4e
FB
36 </div>
37 <div class="flags">
42ec0fe2 38 {include file="include/flags.radio.tpl" disabled=true withtext=true val="novalue" name="profile_ex_pub"}
2dcac0f5
FB
39 </div>
40 <div style="margin-top: 1em">
fd38b30e
FB
41 {include file=$profile_page}
42 </div>
7f4a724e 43 <div style="clear: both; margin-top: 1em" class="center">
93553cea
FB
44 <input type="hidden" name="valid_page" value="{$current}" />
45 <input type="submit" name="current_page" value="Valider les modifications" />
7f4a724e 46 {if $current neq count($lookup)-1}
93553cea 47 <input type="submit" name="next_page" value="Valider et passer à la page suivante" />
7f4a724e 48 {/if}
fd38b30e
FB
49 </div>
50</form>
51
52{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}