ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
footer.php
Go to the documentation of this file.
1 <?php
2 function footer()
3 {
4  global $DIC;
5  $f = $DIC->ui()->factory();
6  $df = new \ILIAS\Data\Factory();
7  $renderer = $DIC->ui()->renderer();
8 
9  $text = 'Additional info:';
10  $links = [];
11  $links[] = $f->link()->standard("Goto ILIAS", "http://www.ilias.de");
12  $links[] = $f->link()->standard("Goto ILIAS", "http://www.ilias.de");
13 
14  $footer = $f->mainControls()->footer($links, $text)
15  ->withPermanentURL(
16  $df->uri(
17  $_SERVER['REQUEST_SCHEME'] .
18  '://' .
19  $_SERVER['SERVER_NAME'] .
20  ':' .
21  $_SERVER['SERVER_PORT'] .
22  str_replace(
23  'ilias.php',
24  'goto.php?target=xxx12345',
25  $_SERVER['SCRIPT_NAME']
26  )
27  )
28  );
29 
30  return $renderer->render($footer);
31 }
$_SERVER['HTTP_HOST']
Definition: raiseError.php:10
$DIC
Definition: xapitoken.php:46