$this->tpl->assign('language', $this->conf->get('translation.language'));
if ($this->bookmarkService !== null) {
- $this->tpl->assign('tags', $this->bookmarkService->bookmarksCountPerTag());
+ $this->tpl->assign('tags', escape($this->bookmarkService->bookmarksCountPerTag()));
}
$this->tpl->assign(
}
}
+ $rootPath = preg_replace('#/index\.php$#', '', $basePath);
$this->assign('base_path', $basePath);
+ $this->assign('root_path', $rootPath);
$this->assign(
'asset_path',
- $basePath . '/' .
+ $rootPath . '/' .
rtrim($this->conf->get('resource.raintpl_tpl', 'tpl'), '/') . '/' .
$this->conf->get('resource.theme', 'default')
);