*
* @param ConfigManager $conf Configuration Manager instance (reference).
*/
- function __construct(&$conf)
+ public function __construct(&$conf)
{
$this->tpl = false;
$this->conf = $conf;
$this->tpl->assign('hide_timestamps', $this->conf->get('privacy.hide_timestamps', false));
$this->tpl->assign('token', getToken($this->conf));
// To be removed with a proper theme configuration.
- $this->tpl->assign('theme', $this->conf->get('resource.theme', 'default'));
+ $this->tpl->assign('conf', $this->conf);
}
/**