- if ($conf->exists('title')) {
- $this->tpl->assign('pagetitle', $conf->get('title'));
- }
- if ($conf->exists('titleLink')) {
- $this->tpl->assign('titleLink', $conf->get('titleLink'));
- }
- 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('config.OPEN_SHAARLI', false));
- $this->tpl->assign('showatom', $conf->get('config.SHOW_ATOM', false));
- // FIXME! Globals
- 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'));