3 declare(strict_types=1);
12 $f = $DIC->ui()->factory();
14 $renderer = $DIC->ui()->renderer();
16 $url =
'src/UI/examples/MainControls/Footer/footer_with_modals.php?new_footer_2_ui=1';
18 $page_demo =
$f->link()->standard(
'See UI in fullscreen-mode',
$url);
20 return $renderer->render([
28 $f = $DIC->ui()->factory();
30 $text =
'Additional info:';
32 $links[] =
$f->link()->standard(
"Goto ILIAS",
"http://www.ilias.de");
34 $footer =
$f->mainControls()->footer($links, $text);
36 $roundTripModal =
$f->modal()->roundtrip(
'Withdrawal of Consent',
$f->legacy(
'Withdrawal of Consent ...'));
37 $shyButton =
$f->button()->shy(
'Terms Of Service',
'#');
38 return $footer->withAdditionalModalAndTrigger($roundTripModal, $shyButton);
44 if (basename(
$_SERVER[
"SCRIPT_FILENAME"]) ==
"footer_with_modals.php") {
45 chdir(
'../../../../../');
46 require_once(
"libs/composer/vendor/autoload.php");
59 require_once(
"src/UI/examples/MainControls/Footer/footer.php");
61 $f = $dic->
ui()->factory();
62 $renderer = $dic->
ui()->renderer();
63 $logo =
$f->image()->responsive(
"templates/default/images/HeaderIcon.svg",
"ILIAS");
64 $responsive_logo =
$f->image()->responsive(
"templates/default/images/HeaderIconResponsive.svg",
"ILIAS");
69 $tc = $dic->
ui()->factory()->toast()->container();
73 $page =
$f->layout()->page()->standard(
80 "./templates/default/images/favicon.ico",
83 'UI PAGE FOOTER DEMO',
85 'Std. Page Footer Demo' 88 return $renderer->render($page);
pageFooterDemoMainbar(\ILIAS\UI\Factory $f)
Class ChatMainBarProvider .
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Customizing of pimple-DIC for ILIAS.
if(basename($_SERVER["SCRIPT_FILENAME"])=="footer_with_modals.php") if(isset($request_wrapper) &&isset($refinery) && $request_wrapper->has('new_footer_2_ui') && $request_wrapper->retrieve('new_footer_2_ui', $refinery->kindlyTo() ->string())=='1') renderFooterWithModalsInFullscreenMode(Container $dic)
static initILIAS()
ilias initialisation
pageFooterDemoContent(\ILIAS\UI\Factory $f)
pageFooterDemoCrumbs(\ILIAS\UI\Factory $f)
pageFooterDemoMetabar(\ILIAS\UI\Factory $f)
ui()
Get the interface to get services from UI framework.
Refinery Factory $refinery