ILIAS  release_8 Revision v8.23
mainbar.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
6 
7 function mainbar(): string
8 {
9  global $DIC;
10  $f = $DIC['ui.factory'];
11  $renderer = $DIC['ui.renderer'];
12 
13  $url = 'src/UI/examples/Layout/Page/Standard/ui_mainbar.php?ui_mainbar=1';
14  $to_page = $f->link()->standard('Full Screen Page Layout', $url);
15  $txt = $f->legacy('<p>Better head over to a preview of page to see a mainbar in its entire beauty...</p>');
16  return $renderer->render([
17  $txt,
18  $to_page
19  ]);
20 }
global $DIC
Definition: feed.php:28
$txt
Definition: error.php:13
$url