]> git.mxchange.org Git - friendica.git/blob - mod/navigation.php
Merge pull request #1338 from annando/1501-global-contacts
[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                 '$langselector' => lang_selector(),
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 }