Limit the size of the images in multipart/mixed view (on browsers which supports...
[banana.git] / banana / templates / banana-base.tpl
CommitLineData
7027794f 1{* *}
2{* *}
3{* *}
4
5<table class="cadre_a_onglet" style="width: 100%" cellpadding="0" cellspacing="0">
6 <tr>
7 <td>
8 <ul id="onglet">
9 {foreach from=$pages item=pg key=name}
10 {if $name eq $page}
11 <li class="actif">{$pg.text}</li>
12 {assign var=current_page value=$pg}
13 {else}
2f0aa8ce 14 <li>{if $name eq 'subscribe'}{link action=subscribe text=$pg.text}
7027794f 15 {elseif $name eq 'forums'}{link text=$pg.text}
16 {elseif $name eq 'thread'}{link group=$group text=$group}
17 {elseif $name eq 'message'}{link group=$group artid=$artid text=$pg.text}
18 {else}{link page=$name text=$pg.text}
19 {/if}</li>
20 {/if}
21 {/foreach}
22 </ul>
23 </td>
24 </tr>
25 <tr>
26 <td class="conteneur_tab banana">
27 {foreach from=$errors item=error}
28 <p class="error">{$error}</p>
29 {/foreach}
2f0aa8ce 30 {if !$killed}
7027794f 31 {foreach from=$actions item=act}
32 <p class="center" style="padding: 0; margin: 0 0 1em 0">{$act.text}</p>
33 {/foreach}
34 {if $page eq 'forums'}
35 {include file="banana-boxlist.inc.tpl" grouplist=$groups withstats=true}
36 {if $newgroups|@count}
a0b2e16c 37 <p>{"Les nouveaux groupes suivants ont été créés depuis votre dernière visite"|b}</p>
7027794f 38 {include file="banana-boxlist.inc.tpl" grouplist=$newgroups withstats=true}
39 {/if}
40 {elseif $page eq 'subscribe'}
41 {include file="banana-boxlist.inc.tpl" grouplist=$groups withsubs=true}
42 {elseif $page eq 'thread'}
43 {include file="banana-thread.inc.tpl" withtitle=true}
44 {elseif $page eq 'message'}
45 {include file="banana-message.inc.tpl"}
46 {include file="banana-thread.inc.tpl" withtitle=false}
47 {elseif $page eq 'new'}
48 {include file="banana-newmessage.inc.tpl"}
49 {elseif $page eq 'cancel'}
a0b2e16c 50 <p class="error">{"Voulez-vous vraiment annuler ce message ?"|b}</p>
7027794f 51 <form action="{url group=$group artid=$artid action=cancel}" method="post">
52 <p class="center">
a0b2e16c 53 <input type="submit" name="cancel" value="{"Annuler !"|b}" />
7027794f 54 </p>
55 </form>
56 {include file="banana-message.inc.tpl" noactions=true}
57 {elseif $current_page.template}
58 {include file=$current_page.template}
59 {/if}
2f0aa8ce 60 {/if}
7027794f 61 </td>
62 </tr>
63</table>
64
598a1c53 65{* vim:set et sw=2 sts=2 ts=2 enc=utf-8: *}