]> git.mxchange.org Git - friendica.git/blob - mod/navigation.php
Merge pull request #2148 from annando/issue-1871
[friendica.git] / mod / navigation.php
1 <?php
2
3 require_once("include/nav.php");
4
5 function navigation_content(&$a) {
6
7         $nav_info = nav_info($a);
8
9         /**
10          * Build the page
11          */
12
13         $tpl = get_markup_template('navigation.tpl');
14         return replace_macros($tpl, array(
15                 '$baseurl' => $a->get_baseurl(),
16                 '$sitelocation' => $nav_info['sitelocation'],
17                 '$nav' => $nav_info['nav'],
18                 '$banner' =>  $nav_info['banner'],
19                 '$emptynotifications' => t('Nothing new here'),
20                 '$userinfo' => $nav_info['userinfo'],
21                 '$sel' =>       $a->nav_sel,
22                 '$apps' => $a->apps,
23                 '$clear_notifs' => t('Clear notifications')
24         ));
25
26 }