blob: 40610811f407601f402dc46835a0be06d7506e2f (
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
|
<?php
/**
* Contents widget.
*
* @author David Siegfried <ds.siegfried@gmail.com>
* @license GPL2 or any later version
* @since Stud.IP 5.0
*/
class ContentsWidget extends StudIPPlugin implements PortalPlugin
{
public function getPluginName()
{
return _('Mein Arbeitsplatz');
}
public function getPortalTemplate()
{
$template_factory = new Flexi_TemplateFactory(__DIR__ . '/templates');
$template = $template_factory->open('index');
$template->tiles = Navigation::getItem('/contents');
return $template;
}
}
|