topbar_wrapper.php 288 B

1234567891011121314151617
  1. <?php
  2. /**
  3. * Elgg topbar wrapper
  4. * Check if the user is logged in and display a topbar
  5. * @since 1.10
  6. */
  7. if (!elgg_is_logged_in()) {
  8. return true;
  9. }
  10. ?>
  11. <div class="elgg-page-topbar">
  12. <div class="elgg-inner">
  13. <?php
  14. echo elgg_view('page/elements/topbar', $vars);
  15. ?>
  16. </div>
  17. </div>