Skip to content
Snippets Groups Projects
Commit 81acecc6 authored by Thomas Hackl's avatar Thomas Hackl
Browse files

include picture pool navigation for admins

parent 9540c392
No related branches found
No related tags found
No related merge requests found
......@@ -161,14 +161,15 @@ class AdminNavigation extends Navigation
)
);
if ($GLOBALS['perm']->have_perm('admin')) {
$pool = new Navigation(_('Bilder-Pool'), 'dispatch.php/stock_images', []);
$pool->setImage(Icon::create('picture'));
$pool->setDescription(_('Verwalten Sie den Pool frei verfügbarer Bilder.'));
$navigation->addSubNavigation('stock_images', $pool);
}
}
if ($GLOBALS['perm']->have_perm('admin')) {
$pool = new Navigation(_('Bilder-Pool'), 'dispatch.php/stock_images', []);
$pool->setImage(Icon::create('picture'));
$pool->setDescription(_('Verwalten Sie den Pool frei verfügbarer Bilder.'));
$navigation->addSubNavigation('stock_images', $pool);
}
$this->addSubNavigation('locations', $navigation);
// global config / user administration
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment