diff options
author | patdenice <patdenice@piwigo.org> | 2012-02-18 20:26:52 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2012-02-18 20:26:52 +0000 |
commit | 26ed60c972da7e18325c35a62e72025d1a70fbf1 (patch) | |
tree | dbbd725d4b44402ec9c4b1b149db52c4fe886173 /include/page_tail.php | |
parent | 4b696df2dad09a333ee41705e2236fb0d986e0c1 (diff) |
feature:2577
Many improvements
git-svn-id: http://piwigo.org/svn/trunk@13234 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/page_tail.php')
-rw-r--r-- | include/page_tail.php | 11 |
1 files changed, 11 insertions, 0 deletions
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 |