ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
mainbar.php
Go to the documentation of this file.
1 <?php
2 function mainbar()
3 {
4  global $DIC;
5  $f = $DIC['ui.factory'];
6  $renderer = $DIC['ui.renderer'];
7 
8  $url = 'src/UI/examples/Layout/Page/Standard/ui_mainbar.php?ui_mainbar=1';
9  $to_page = $f->button()->standard('Mainbar', $url);
10  $txt = $f->legacy('<p>Better head over to a preview of page to see a mainbar in its entire beauty...</p>');
11  return $renderer->render([
12  $txt,
13  $to_page
14  ]);
15 }
global $DIC
Definition: goto.php:24
$txt
Definition: error.php:13
$url
mainbar()
Definition: mainbar.php:2