ILIAS  release_7 Revision v7.30-3-g800a261c036
base.php File Reference

Go to the source code of this file.

Functions

 base ()
 

Function Documentation

◆ base()

base ( )

Definition at line 3 of file base.php.

References $DIC, $factory, and $panel.

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
global $DIC
Definition: goto.php:24
$factory
Definition: metadata.php:58