'subscribe' => array(),
'autoup' => 1);
static public $boxpattern;
+ static public $withtabs = true;
### Spool ###
static public $spool_max = 3000;
static public $msgshow_mimeparts = array('multipart/report', 'multipart/mixed', 'text/html', 'text/plain', 'text/enriched', 'text', 'message');
static public $msgshow_xface = true;
static public $msgshow_wrap = 78;
+ static public $msgshow_withthread = true;
/** Match an url
* Should be included in a regexp delimited using /, !, , or @ (eg: "/$url_regexp/ui")
$this->assign('spool', Banana::$spool);
$this->assign('protocole', Banana::$protocole);
$this->assign('showboxlist', Banana::$spool_boxlist);
+ $this->assign('showthread', Banana::$msgshow_withthread);
+ $this->assign('withtabs' , Banana::$withtabs);
$this->register_function('url', array($this, 'makeUrl'));
$this->register_function('link', array($this, 'makeLink'));
{* *}
{* *}
+{if $withtabs}
<table class="cadre_a_onglet" style="width: 100%" cellpadding="0" cellspacing="0">
<tr>
<td>
</tr>
<tr>
<td class="conteneur_tab banana">
+{else}
+<div class="banana">
+{/if}
{foreach from=$errors item=error}
<p class="error">{$error}</p>
{/foreach}
{include file="banana-thread.inc.tpl" withtitle=true}
{elseif $page eq 'message'}
{include file="banana-message.inc.tpl"}
+ {if $withthread}
{include file="banana-thread.inc.tpl" withtitle=false}
+ {/if}
{elseif $page eq 'new'}
{include file="banana-newmessage.inc.tpl"}
{elseif $page eq 'cancel'}
{include file=$current_page.template}
{/if}
{/if}
+{if $withtabs}
</td>
</tr>
</table>
+{else}
+</div>
+{/if}
{* vim:set et sw=2 sts=2 ts=2 enc=utf-8: *}
* Copyright: See COPYING files that comes with this distribution
********************************************************************************/
+.banana {
+ margin-bottom: 1em;
+}
+
/** GROUP LIST **/
.banana .grp { text-align: left; }
.banana .dsc { text-align: left; }