From f8bd476b882e95b8bdb589ae74645d030ef198fd Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 3 Jan 2013 15:52:05 -0800 Subject: import the toggle_mobile stuff to shut up some warnings --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index a4e8899d9..f718850a8 100644 --- a/index.php +++ b/index.php @@ -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, -- cgit v1.2.3