Elgg  Version 3.0
header.php
Go to the documentation of this file.
1 <?php
2 
6 elgg_require_js('page/elements/topbar');
7 ?>
8 
9 <div class="elgg-nav-logo">
10  <h1 class="elgg-heading-site">
11  <a href="<?= elgg_get_site_url(); ?>admin">
12  <?= elgg_get_site_entity()->getDisplayName() ?>
13  <small><?= elgg_echo('admin') ?></small>
14  </a>
15  </h1>
16 </div>
17 
18 <div class="elgg-nav-button">
19  <span></span>
20  <span></span>
21  <span></span>
22 </div>
23 
24 <div class="elgg-nav-collapse">
25  <?php
26  echo elgg_view_menu('admin_header');
27  ?>
28 </div>
elgg_echo($message_key, array $args=[], $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg_view_menu($menu, array $vars=[])
Render a menu.
Definition: views.php:755
elgg_require_js($name)
Request that Elgg load an AMD module onto the page.
Definition: elgglib.php:168
elgg echo
Translates a string.
Definition: languages.js:43
elgg_get_site_entity()
Get the current site entity.
Definition: entities.php:130