6 $f = $DIC->ui()->factory();
7 $renderer = $DIC->ui()->renderer();
9 $url =
'src/UI/examples/MainControls/Footer/footer_with_modals.php?new_footer_2_ui=1';
11 $page_demo =
$f->button()->primary(
'See UI in fullscreen-mode',
$url);
13 return $renderer->render([
21 $f = $DIC->ui()->factory();
22 $renderer = $DIC->ui()->renderer();
24 $text =
'Additional info:';
26 $links[] =
$f->link()->standard(
"Goto ILIAS",
"http://www.ilias.de");
28 $footer =
$f->mainControls()->footer($links, $text);
30 $roundTripModal =
$f->modal()->roundtrip(
'Withdrawal of Consent',
$f->legacy(
'Withdrawal of Consent ...'));
31 $shyButton =
$f->button()->shy(
'Terms Of Service',
'#');
32 $footer = $footer->withAdditionalModalAndTrigger($roundTripModal, $shyButton);
37 if (
$_GET[
'new_footer_2_ui'] ==
'1') {
38 chdir(
'../../../../../');
39 require_once(
'src/UI/examples/Layout/Page/Standard/ui.php');
40 require_once(
'src/UI/examples/MainControls/Footer/footer.php');
46 $f = $DIC->ui()->factory();
47 $renderer = $DIC->ui()->renderer();
48 $logo =
$f->image()->responsive(
"templates/default/images/HeaderIcon.svg",
"ILIAS");
54 $entries = $mainbar->getEntries();
55 $tools = $mainbar->getToolEntries();
58 $page =
$f->layout()->page()->standard(
65 'UI PAGE FOOTER DEMO',
67 'Std. Page Footer Demo' 70 echo $renderer->render($page);
if($_GET['new_ui']=='1') if($_GET['replaced']=='1') _initIliasForPreview()
Below are helpers for the construction of demo-content.