diff --git a/src/Views/layout-normal.phtml b/src/Views/layout-normal.phtml index 2623a801..6e4fc657 100644 --- a/src/Views/layout-normal.phtml +++ b/src/Views/layout-normal.phtml @@ -13,7 +13,7 @@ - + context->scripts as $name): ?> @@ -36,6 +36,9 @@ if (PrivilegesHelper::confirm($this->context->user, Privilege::ListPosts)) $nav []= ['Favorites', \Chibi\UrlHelper::route('post', 'favorites')]; + if (PrivilegesHelper::confirm($this->context->user, Privilege::ListTags)) + $nav []= ['Tags', \Chibi\UrlHelper::route('tag', 'list')]; + if (PrivilegesHelper::confirm($this->context->user, Privilege::UploadPost)) $nav []= ['Upload', \Chibi\UrlHelper::route('post', 'upload')];