ILIAS  release_8 Revision v8.24
base.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
6
7function base()
8{
9 global $DIC;
10 $factory = $DIC->ui()->factory();
11 $renderer = $DIC->ui()->renderer();
12
13 $actions = $factory->dropdown()->standard(array(
14 $factory->button()->shy("ILIAS", "https://www.ilias.de"),
15 $factory->button()->shy("GitHub", "https://www.github.com")
16 ));
17
18 $legacy = $factory->legacy("Legacy content");
19
20 $panel = $factory->panel()->secondary()->legacy(
21 "Legacy panel title",
22 $legacy
23 )->withActions($actions);
24
25 return $renderer->render($panel);
26}
global $DIC
Definition: feed.php:28
if(isset($_FILES['img_file']) &&is_array($_FILES['img_file'])) $panel
Definition: imgupload.php:198
$factory
Definition: metadata.php:75