ILIAS  release_8 Revision v8.23
with_footer.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
6 
7 function with_footer()
8 {
9  global $DIC;
10 
11  $factory = $DIC->ui()->factory();
12  $renderer = $DIC->ui()->renderer();
13 
14  $tags = ["PHP", "ILIAS", "Sofware", "SOLID", "Domain Driven"];
15 
16  $html = "";
17  foreach ($tags as $tag) {
18  $html .= $renderer->render($factory->button()->tag($tag, ""));
19  }
20 
21  $legacy = $factory->legacy($html);
22  $link = $factory->button()->Shy("Edit Keywords", "");
23 
24  $panel = $factory->panel()->secondary()->legacy("panel title", $legacy)->withFooter($link);
25 
26  return $renderer->render($panel);
27 }
if(isset($_FILES['img_file']) &&is_array($_FILES['img_file'])) $panel
Definition: imgupload.php:198
global $DIC
Definition: feed.php:28
$factory
Definition: metadata.php:75