- printf('<span>Ingelogd: <b>%s</b></span>', $User['name']);
- if ($User['admin']) {
+ printf('<span>Ingelogd: <b><a href="%s">%s</a></b></span>', '/login', $User['name']);
+ if (!empty($User['admin'])) {
$html = $request == $m[1] ? $m[2] : $m[0]; # text or full link
return $m[1] == substr($request, 0, strlen($m[1])) ? "<b>$html</b>" : $html;
}, $nav);
$html = $request == $m[1] ? $m[2] : $m[0]; # text or full link
return $m[1] == substr($request, 0, strlen($m[1])) ? "<b>$html</b>" : $html;
}, $nav);
print '<script src="//cdn.ckeditor.com/4.7.3/full-all/ckeditor.js"></script>'."\n";
print '<script src="/edit.js"></script>'."\n";
}
print '<script src="//cdn.ckeditor.com/4.7.3/full-all/ckeditor.js"></script>'."\n";
print '<script src="/edit.js"></script>'."\n";
}