45a8d4d39a318f2f2ba3934e88d062624fd3d3f0
[platal.git] / templates / profile / admin_trombino.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2011 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 <h1>
25   Gestion du trombino
26 </h1>
27
28 <p>
29 Photo actuelle de {$user->login()}
30 </p>
31
32 <img src="photo/{$user->login()}" alt="[ PHOTO ]" />
33 <br />
34
35 <p>
36 <a href="admin/trombino/{$user->login()}/delete?token={xsrf_token}">Supprimer cette photo</a>
37 </p>
38
39 <p>
40 <a href="admin/trombino/{$user->login()}/original">Voir sa photo de trombi récupérée à l'École (si disponible)</a>
41 </p>
42
43 <form action="admin/trombino/{$user->login()}/new" method="post" enctype="multipart/form-data">
44   {xsrf_token_field}
45   <div>
46     <input name="userfile" type="file" size="20" maxlength="150" />
47     <input type="submit" value="Envoyer" />
48   </div>
49 </form>
50
51
52 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}