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