6 $f = $DIC->ui()->factory();
7 $renderer = $DIC->ui()->renderer();
9 $url =
'src/UI/examples/MainControls/Footer/footer.php?new_footer_ui=1';
11 $page_demo =
$f->button()->primary(
'See UI in fullscreen-mode',
$url);
13 return $renderer->render([
21 $f = $DIC->ui()->factory();
22 $df = new \ILIAS\Data\Factory();
23 $renderer = $DIC->ui()->renderer();
25 $text =
'Additional info:';
27 $links[] =
$f->link()->standard(
"Goto ILIAS",
"http://www.ilias.de");
28 $links[] =
$f->link()->standard(
"Goto Mantis",
"http://mantis.ilias.de");
30 return $f->mainControls()->footer($links, $text)->withPermanentURL(
32 (isset(
$_SERVER[
'REQUEST_SCHEME']) ?
$_SERVER[
'REQUEST_SCHEME']:
"http") .
'://' 33 . (isset($_SERVER[
'SERVER_NAME']) ? $_SERVER[
'SERVER_NAME']:
"localhost") .
':' 34 . (isset($_SERVER[
'SERVER_PORT']) ? $_SERVER[
'SERVER_PORT']:
"80")
35 . (isset($_SERVER[
'SCRIPT_NAME']) ? $_SERVER[
'SCRIPT_NAME']:
"")
42 if (
$_GET[
'new_footer_ui'] ==
'1') {
43 chdir(
'../../../../../');
44 require_once(
'src/UI/examples/Layout/Page/Standard/ui.php');
49 $f = $DIC->ui()->factory();
50 $renderer = $DIC->ui()->renderer();
51 $logo =
$f->image()->responsive(
"templates/default/images/HeaderIcon.svg",
"ILIAS");
57 $entries = $mainbar->getEntries();
58 $tools = $mainbar->getToolEntries();
61 $page =
$f->layout()->page()->standard(
68 'UI PAGE FOOTER DEMO',
70 'Std. Page Footer Demo' 73 echo $renderer->render($page);
80 $f->panel()->standard(
81 'All about the Footer',
91 $help =
$f->button()->bulky(
$f->symbol()->glyph()->help(),
'Help',
'#');
92 return $f->mainControls()->metabar()->withAdditionalEntry(
'help', $help);
97 return $f->breadcrumbs([]);
102 return $f->mainControls()->mainbar();;
if($_GET['new_ui']=='1') if($_GET['replaced']=='1') _initIliasForPreview()
Below are helpers for the construction of demo-content.