2013-01-26 19:52:21 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
require_once("include/nav.php");
|
|
|
|
|
2016-02-05 20:52:39 +00:00
|
|
|
if(! function_exists('navigation_content')) {
|
2013-01-26 19:52:21 +00:00
|
|
|
function navigation_content(&$a) {
|
|
|
|
|
|
|
|
$nav_info = nav_info($a);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Build the page
|
|
|
|
*/
|
|
|
|
|
|
|
|
$tpl = get_markup_template('navigation.tpl');
|
|
|
|
return replace_macros($tpl, array(
|
2015-11-08 13:42:54 +00:00
|
|
|
'$baseurl' => $a->get_baseurl(),
|
2013-01-26 19:52:21 +00:00
|
|
|
'$sitelocation' => $nav_info['sitelocation'],
|
|
|
|
'$nav' => $nav_info['nav'],
|
|
|
|
'$banner' => $nav_info['banner'],
|
|
|
|
'$emptynotifications' => t('Nothing new here'),
|
|
|
|
'$userinfo' => $nav_info['userinfo'],
|
|
|
|
'$sel' => $a->nav_sel,
|
|
|
|
'$apps' => $a->apps,
|
|
|
|
'$clear_notifs' => t('Clear notifications')
|
|
|
|
));
|
2016-02-05 20:52:39 +00:00
|
|
|
}
|
2013-01-26 19:52:21 +00:00
|
|
|
}
|