Merge branch 'platal-1.0.0'
[platal.git] / templates / profile / base.tpl
... / ...
CommitLineData
1{**************************************************************************}
2{* *}
3{* Copyright (C) 2003-2010 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{assign var=isMe value=$smarty.session.user->isMyProfile($profile)}
24{if hasPerm('directory_private')}
25{assign var=viewPrivate value=true}
26{/if}
27
28<form action="{$wiz_baseurl}/{$lookup[$current]}" method="post" id="prof_annu">
29 {xsrf_token_field}
30 <div>
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
33 voient <a class="popup2" href="profile/{$profile->hrpid}?view=public">n'importe quel internaute</a>,
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}.
36 </div>
37 <div class="flags">
38 {include file="include/flags.radio.tpl" disabled=true withtext=true val="novalue" name="profile_ex_pub"}
39 </div>
40 <div style="margin-top: 1em">
41 {include file=$profile_page}
42 </div>
43 <div style="clear: both; margin-top: 1em" class="center">
44 <input type="hidden" name="valid_page" value="{$current}" />
45 <input type="submit" name="current_page" value="Valider les modifications" />
46 {if $current neq count($lookup)-1}
47 <input type="submit" name="next_page" value="Valider et passer à la page suivante" />
48 {/if}
49 </div>
50</form>
51
52{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}