context->subTitle)): ?>
context->title, $this->context->subTitle) ?>
context->title ?>
context->stylesheets as $name): ?>
context->user, Privilege::UploadPost)) $preNav []= ['Upload', \Chibi\UrlHelper::route('post', 'upload')]; if (!$this->context->loggedIn) { $postNav []= ['Login', \Chibi\UrlHelper::route('auth', 'login')]; $postNav []= ['Register', \Chibi\UrlHelper::route('auth', 'register')]; } else { $postNav []= ['Account', \Chibi\UrlHelper::route('user', 'show', ['name' => $this->context->user->name])]; $postNav []= ['Logout', \Chibi\UrlHelper::route('auth', 'logout')]; } function printNav($nav) { foreach ($nav as $navItem) { list ($text, $link) = $navItem; echo '
'; echo '
' . $text . '
'; echo '
'; } } ?>
renderView() ?>