ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
base.php
Go to the documentation of this file.
1 <?php
2 
3 function base()
4 {
5  global $DIC;
6  $factory = $DIC->ui()->factory();
7  $renderer = $DIC->ui()->renderer();
8 
9  $actions = $factory->dropdown()->standard(array(
10  $factory->button()->shy("ILIAS", "https://www.ilias.de"),
11  $factory->button()->shy("GitHub", "https://www.github.com")
12  ));
13 
14  $legacy = $factory->legacy("Legacy content");
15 
16  $panel = $factory->panel()->secondary()->legacy(
17  "Legacy panel title",
18  $legacy
19  )->withActions($actions);
20 
21  return $renderer->render($panel);
22 }
if(isset($_FILES['img_file']) &&is_array($_FILES['img_file'])) $panel
Definition: imgupload.php:138
base()
Definition: base.php:4
global $DIC
Definition: goto.php:24
$factory
Definition: metadata.php:58