Fixes vim mode line.
[banana.git] / banana / templates / banana-newmessage.inc.tpl
CommitLineData
7027794f 1<form {if $can_attach}enctype="multipart/form-data"{/if} action="{url group=$group artid=$artid action=new}" method="post" accept-charset="utf-8">
2 <table class="bicol">
3 <tr>
a0b2e16c 4 <th colspan="2">{"Composer un nouveau message"|b}</th>
7027794f 5 </tr>
6 {foreach from=$headers key=header item=values}
c28d3016 7 <tr class="pair">
7995f07b 8 <td>
4f7c063d 9 {$values.name}
7995f07b 10 </td>
7027794f 11 <td>
12 {if $values.fixed}
4f7c063d 13 {$values.fixed}
7027794f 14 {else}
fe44f824 15 <input type="text" name="{$header}" value="{$values.user|default:$smarty.request.$header}" size="50" />
7027794f 16 {/if}
17 </td>
18 </tr>
19 {/foreach}
c28d3016 20 <tr>
7027794f 21 <td colspan="2" class="center">
22 <textarea name="body" cols="74" rows="16">{$body|default:$smarty.request.body}</textarea>
23 </td>
24 </tr>
25 {if $can_attach}
c28d3016 26 <tr>
a0b2e16c 27 <td>{"Fichier joint"|b}</td>
7027794f 28 <td>
29 {if $maxfilesize}
30 <input type="hidden" name="MAX_FILE_SIZE" value="{$maxfilesize}" />
31 {/if}
32 <input type="file" name="attachment" size="40" />
33 </td>
34 </tr>
35 {/if}
c28d3016 36 <tr>
7027794f 37 <td colspan="2" class="center">
a0b2e16c 38 <input type="submit" name="sendmessage" value="{"Envoyer le message"|b}" />
7027794f 39 </td>
40 </tr>
41 </table>
42</form>
43
a90b6fc9 44{* vim:set et sts=2 ts=2 sw=2 fenc=utf-8: *}