- if ($conf->exists('general.title')) {
- $this->tpl->assign('pagetitle', $conf->get('general.title'));
- }
- if ($conf->exists('general.header_link')) {
- $this->tpl->assign('titleLink', $conf->get('general.header_link'));
- }
- if ($conf->exists('pagetitle')) {
- $this->tpl->assign('pagetitle', $conf->get('pagetitle'));
- }
- $this->tpl->assign('shaarlititle', $conf->get('title', 'Shaarli'));
- $this->tpl->assign('openshaarli', $conf->get('extras.open_shaarli', false));
- $this->tpl->assign('showatom', $conf->get('extras.show_atom', false));
- $this->tpl->assign('hide_timestamps', $conf->get('extras.hide_timestamps', false));
- if (!empty($GLOBALS['plugin_errors'])) {
- $this->tpl->assign('plugin_errors', $GLOBALS['plugin_errors']);
+ $this->tpl->assign('pagetitle', $this->conf->get('general.title', 'Shaarli'));
+ if ($this->conf->exists('general.header_link')) {
+ $this->tpl->assign('titleLink', $this->conf->get('general.header_link'));