Merge branch 'develop' into feature/login-by-email

This commit is contained in:
slawkens
2022-05-31 12:25:26 +02:00
32 changed files with 965 additions and 151 deletions

View File

@@ -369,6 +369,14 @@ if($config['backward_support']) {
$topic = $title;
}
/**
* @var OTS_Account $account_logged
*/
if ($logged && admin()) {
$content .= $twig->render('admin-bar.html.twig', [
'username' => USE_ACCOUNT_NAME ? $account_logged->getName() : $account_logged->getId()
]);
}
$title_full = (isset($title) ? $title . ' - ' : '') . $config['lua']['serverName'];
require $template_path . '/' . $template_index;