blob: b272a71e9a760b54ed1d22ff75aa3f78febe7d3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
<?php
class StockImagesController extends AuthenticatedController
{
/**
* Common tasks for all actions.
*/
public function before_filter(&$action, &$args)
{
parent::before_filter($action, $args);
URLHelper::removeLinkParam('cid');
$GLOBALS['perm']->check('admin');
if (Navigation::hasItem('/contents/stock_images')) {
Navigation::activateItem('/contents/stock_images');
}
\PageLayout::setTitle(_('Verwaltung des Bilder-Pools'));
$this->setSidebar();
}
/**
* Administration view for banner
*/
public function index_action(): void
{
}
/**
* Setup the sidebar
*/
protected function setSidebar(): void
{
$sidebar = \Sidebar::Get();
$sidebar->addWidget(new \VueWidget('stock-images-widget'));
}
}
|