private $killed = array();
private $actions = array();
+ public $css = '';
+
public function __construct()
{
$this->Smarty();
$this->killed[] = $page;
}
+ /** Add Inline CSS to put in the page headers
+ * @param css CSS code
+ */
+ public function addCssInline($css)
+ {
+ $this->css .= $css;
+ }
+
/** Preparte the page generation
* @return template to use
*/
$this->assign('profile', Banana::$profile);
$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'));