From ac506e8c959991e13332b516aabaa09949a92381 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Fri, 1 Nov 2013 12:05:06 +0100 Subject: [PATCH] Added mass tag to header --- src/Views/layout-normal.phtml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Views/layout-normal.phtml b/src/Views/layout-normal.phtml index 6f8fcc39..0cf0d62b 100644 --- a/src/Views/layout-normal.phtml +++ b/src/Views/layout-normal.phtml @@ -42,6 +42,9 @@ if (PrivilegesHelper::confirm(Privilege::ListTags)) $nav []= ['Tags', \Chibi\UrlHelper::route('tag', 'list')]; + if (PrivilegesHelper::confirm(Privilege::MassTag)) + $nav []= ['Mass tag', \Chibi\UrlHelper::route('post', 'list', ['query' => isset($this->context->transport->searchQuery) ? htmlspecialchars($this->context->transport->searchQuery) : '', 'source' => 'mass-tag'])]; + if (PrivilegesHelper::confirm(Privilege::ListUsers)) $nav []= ['Users', \Chibi\UrlHelper::route('user', 'list')];