2013-01-26 14:52:21 -05:00
|
|
|
<?php
|
|
|
|
|
2017-04-30 00:07:00 -04:00
|
|
|
use Friendica\App;
|
2017-08-26 02:04:21 -04:00
|
|
|
use Friendica\Core\System;
|
2017-04-30 00:07:00 -04:00
|
|
|
|
2013-01-26 14:52:21 -05:00
|
|
|
require_once("include/nav.php");
|
|
|
|
|
2017-01-09 07:14:25 -05:00
|
|
|
function navigation_content(App $a) {
|
2013-01-26 14:52:21 -05:00
|
|
|
|
|
|
|
$nav_info = nav_info($a);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Build the page
|
|
|
|
*/
|
|
|
|
|
|
|
|
$tpl = get_markup_template('navigation.tpl');
|
|
|
|
return replace_macros($tpl, array(
|
2016-12-19 08:26:13 -05:00
|
|
|
'$baseurl' => App::get_baseurl(),
|
2013-01-26 14:52:21 -05: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-07 09:11:34 -05:00
|
|
|
|
2013-01-26 14:52:21 -05:00
|
|
|
}
|