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