Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
561 B

  1. <?php
  2. require_once("include/nav.php");
  3. function navigation_content(&$a) {
  4. $nav_info = nav_info($a);
  5. /**
  6. * Build the page
  7. */
  8. $tpl = get_markup_template('navigation.tpl');
  9. return replace_macros($tpl, array(
  10. '$baseurl' => $a->get_baseurl(),
  11. '$sitelocation' => $nav_info['sitelocation'],
  12. '$nav' => $nav_info['nav'],
  13. '$banner' => $nav_info['banner'],
  14. '$emptynotifications' => t('Nothing new here'),
  15. '$userinfo' => $nav_info['userinfo'],
  16. '$sel' => $a->nav_sel,
  17. '$apps' => $a->apps,
  18. '$clear_notifs' => t('Clear notifications')
  19. ));
  20. }