remove the too complicated thing for menu, use a good old template
[platal.git] / templates / newsletter / submit.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
50a40a33 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
164ca57a 23<h1>Proposer un article pour la prochaine Lettre mensuelle</h1>
0337d704 24
25{if $submited}
26
27<p>
28ton article a bien été pris en compte.
29</p>
30
31<p>
32Nous te recontacterons éventuellement (certainement vers la fin du mois) si nous avons des
33renseignements à te demander à son sujet !
34</p>
35
36{else}
37
38
39{if $art}
40
41{if !$art->check()}
42<p class='erreur'>
30901c7d 43L'article que tu as proposé est trop long !<br />
44Il te faut te limiter à 8 lignes de 68 caractères.
0337d704 45</p>
46{/if}
47
7b2413f6 48<form action="nl/submit" method='post'>
0337d704 49 <table class='tinybicol'>
50 <tr><th>Version texte</th></tr>
51 <tr id='text'>
52 <td><pre>{$art->toText()}</pre></td>
53 </tr>
54 {if $art->check()}
55 <tr><th>Version html</th></tr>
56 <tr id='html'>
57 <td>
58 <div class='nl'>
59 {$art->toHtml()|smarty:nodefaults}
60 </div>
61 </td>
62 </tr>
63 <tr>
64 <th>Soumettre</th>
65 </tr>
66 <tr>
67 <td>
68 Si tu es content de ton article, tu peux le soumetre.
69 Sinon, tu peux continuer à l'éditer en dessous
70 </td>
71 </tr>
72 <tr>
73 <td class='center'>
74 <input type='hidden' value="{$smarty.request.title}" name='title' />
75 <input type='hidden' value="{$art->body()}" name="body" />
76 <input type='hidden' value="{$art->append()}" name='append' />
77 <input type='submit' name='valid' value='soumettre' />
78 </td>
79 </tr>
80 {/if}
81 </table>
82</form>
83
84<br />
85
86{/if}
87
88<p>
89Il faut absolument que ton article fasse moins de 8 lignes (non vides) de 68 caractères.
90</p>
91
92<p>
93Les contacts, prix, adresses mail utiles, liens web, ... sont en sus, et sont à placer dans la case "Ajouts"
94</p>
95
7b2413f6 96<form action="nl/submit" method='post'>
0337d704 97 <table class="bicol" cellpadding="3" cellspacing="0" summary="liste des NL">
98 <tr>
99 <th colspan='2'>proposer un article</th>
100 </tr>
101 <tr class="impair">
102 <td class='titre'>Sujet</td>
103 <td>
ff5e5034 104 <input size='60' type='text' value='{$smarty.request.title}' name='title' />
0337d704 105 </td>
106 </tr>
107 <tr class="pair">
108 <td class='titre'>Contenu</td>
109 <td>
110 <textarea cols="68" rows="10" name='body'>{if $art}{$art->body()}{/if}</textarea>
111 </td>
112 </tr>
113 <tr class="impair">
114 <td class='titre'>Ajouts (emails, contacts, tarifs, site web, ...)</td>
115 <td>
116 <textarea cols="68" rows="6" name='append'>{if $art}{$art->append()}{/if}</textarea>
117 </td>
118 </tr>
119 <tr class='pair'>
120 <td colspan='2' class='center'>
121 <input type='submit' name='see' value='visualiser' />
122 </td>
123 </tr>
124 </table>
125</form>
126
127{/if}
128
129
130{* vim:set et sw=2 sts=2 sws=2: *}