2006 => 2007 Happy New Year\!
[platal.git] / templates / profile / trombipromo.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
0337d704 23<h1>
24 Trombinoscope promo
25</h1>
26<p>
27Cette page te permet de voir l'album photo d'une promotion
28donnée.
29</p>
30<p>
31Fais attention, si tu as une connexion à internet lente (par
32exemple si tu es sur un vieux modem), la page que tu vas télécharger
7b728d84 33en validant peut être longue à afficher.
0337d704 34</p>
35
7b2413f6 36<form action="trombi/" method="post">
0337d704 37 <table class="tinybicol" cellpadding="3" summary="Saisie promo" style="width: 30%; margin-left:35%">
38 <tr>
39 <th colspan="2">
40 Trombinoscope
41 </th>
42 </tr>
43 <tr>
44 <td class="titre" style="vertical-align: middle;">
45 Promotion
46 </td>
47 <td>
61091780 48 <input type="text" name="xpromo" size="4" maxlength="4" value="{$smarty.session.promo}" />
7b728d84 49 <input type="submit" value="Ok"
50 onclick='this.form.action = this.form.action + this.form.xpromo.value' />
0337d704 51 </td>
52 </tr>
53 </table>
54</form>
55
7b728d84 56{if $trombi}
0337d704 57
58<h1>
7b728d84 59 Album photo
60 {if $platal->argv[1] eq -1}
7d73bb7b 61 {#globals.core.sitename#}
0337d704 62 {else}
7b728d84 63 promotion {$platal->argv[1]}
0337d704 64 {/if}
65</h1>
66
67{$trombi->show()|smarty:nodefaults}
68
69{/if}
70
0337d704 71{* vim:set et sw=2 sts=2 sws=2: *}