navbar.php 485 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * Aalborg theme navbar
  4. *
  5. */
  6. // drop-down login
  7. echo elgg_view('core/account/login_dropdown');
  8. ?>
  9. <a class="elgg-button-nav" rel="toggle" data-toggle-selector=".elgg-nav-collapse" href="#">
  10. <?= elgg_format_element('img', [
  11. 'src' => elgg_get_site_url() . "mod/aalborg_theme/graphics/bars.png",
  12. 'width' => 22,
  13. 'height' => 12,
  14. 'alt' => elgg_echo('menu'),
  15. 'title' => '',
  16. ]) ?>
  17. </a>
  18. <div class="elgg-nav-collapse">
  19. <?php echo elgg_view_menu('site'); ?>
  20. </div>