Added mass tag to header

This commit is contained in:
Marcin Kurczewski 2013-11-01 12:05:06 +01:00
parent 8d5b82287a
commit ac506e8c95

View file

@ -42,6 +42,9 @@
if (PrivilegesHelper::confirm(Privilege::ListTags)) if (PrivilegesHelper::confirm(Privilege::ListTags))
$nav []= ['Tags', \Chibi\UrlHelper::route('tag', 'list')]; $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)) if (PrivilegesHelper::confirm(Privilege::ListUsers))
$nav []= ['Users', \Chibi\UrlHelper::route('user', 'list')]; $nav []= ['Users', \Chibi\UrlHelper::route('user', 'list')];