3 require_once("include/nav.php");
5 function navigation_content(App &$a) {
7 $nav_info = nav_info($a);
13 $tpl = get_markup_template('navigation.tpl');
14 return replace_macros($tpl, array(
15 '$baseurl' => App::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,
23 '$clear_notifs' => t('Clear notifications')