From 26ed60c972da7e18325c35a62e72025d1a70fbf1 Mon Sep 17 00:00:00 2001 From: patdenice Date: Sat, 18 Feb 2012 20:26:52 +0000 Subject: feature:2577 Many improvements git-svn-id: http://piwigo.org/svn/trunk@13234 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/page_tail.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include/page_tail.php') diff --git a/include/page_tail.php b/include/page_tail.php index 5a8f8a724..14c6391fb 100644 --- a/include/page_tail.php +++ b/include/page_tail.php @@ -65,6 +65,17 @@ if ($conf['show_gt']) $template->assign('debug', $debug_vars ); +//------------------------------------------------------------- mobile version +if (get_device() != 'desktop') +{ + $template->assign('TOGGLE_MOBILE_THEME_URL', + add_url_params( + make_index_url(), + array('mobile' => mobile_theme() ? 'false' : 'true') + ) + ); +} + trigger_action('loc_end_page_tail'); // // Generate the page -- cgit v1.2.3