diff options
author | marijus <mario@mariovavti.com> | 2014-08-13 15:32:15 +0200 |
---|---|---|
committer | marijus <mario@mariovavti.com> | 2014-08-13 15:32:15 +0200 |
commit | bc85f7d6e3f43bee3a0362276d215dab6c72e12d (patch) | |
tree | 692d92d7ee044d7a274fa8c8a5b729390e05cb3a /boot.php | |
parent | 802a5c2946dbb03e3869e4c4b2b22c557149847e (diff) | |
download | volse-hubzilla-bc85f7d6e3f43bee3a0362276d215dab6c72e12d.tar.gz volse-hubzilla-bc85f7d6e3f43bee3a0362276d215dab6c72e12d.tar.bz2 volse-hubzilla-bc85f7d6e3f43bee3a0362276d215dab6c72e12d.zip |
provide an expert option to opt out from user zoom on mobile devices
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -980,6 +980,10 @@ class App { function build_pagehead() { + $user_scalable = ((local_user()) ? get_pconfig(local_user(),'system','user_scalable') : 1); + if ($user_scalable === false) + $user_scalable = 1; + $interval = ((local_user()) ? get_pconfig(local_user(),'system','update_interval') : 40000); if($interval < 10000) $interval = 40000; @@ -993,6 +997,7 @@ class App { */ $tpl = get_markup_template('head.tpl'); $this->page['htmlhead'] = replace_macros($tpl, array( + '$user_scalable' => $user_scalable, '$baseurl' => $this->get_baseurl(), '$local_user' => local_user(), '$generator' => RED_PLATFORM . ' ' . RED_VERSION, |