import the toggle_mobile stuff to shut up some warnings

This commit is contained in:
friendica
2013-01-03 15:52:05 -08:00
parent 7df33bb963
commit f8bd476b88
6 changed files with 39 additions and 4 deletions

View File

@@ -389,10 +389,10 @@ if(count($arr)) {
if($a->is_mobile || $a->is_tablet) {
if(isset($_SESSION['show-mobile']) && !$_SESSION['show-mobile']) {
$link = $a->get_baseurl() . '/toggle_mobile?address=' . curPageURL();
$link = $a->get_baseurl() . '/toggle_mobile?f=&address=' . curPageURL();
}
else {
$link = $a->get_baseurl() . '/toggle_mobile?off=1&address=' . curPageURL();
$link = $a->get_baseurl() . '/toggle_mobile?f=&off=1&address=' . curPageURL();
}
$a->page['footer'] .= replace_macros(get_markup_template("toggle_mobile_footer.tpl"), array(
'$toggle_link' => $link,