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 /view/tpl | |
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 'view/tpl')
-rwxr-xr-x | view/tpl/head.tpl | 2 | ||||
-rwxr-xr-x | view/tpl/settings_display.tpl | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/view/tpl/head.tpl b/view/tpl/head.tpl index d64731ee3..703b08547 100755 --- a/view/tpl/head.tpl +++ b/view/tpl/head.tpl @@ -1,6 +1,6 @@ <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <base href="{{$baseurl}}/" /> -<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1" /> +<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable={{$user_scalable}}" /> <meta name="generator" content="{{$generator}}" /> <!--[if IE]> diff --git a/view/tpl/settings_display.tpl b/view/tpl/settings_display.tpl index a2038b930..6eda6a6ec 100755 --- a/view/tpl/settings_display.tpl +++ b/view/tpl/settings_display.tpl @@ -6,6 +6,9 @@ {{include file="field_themeselect.tpl" field=$theme}} {{include file="field_themeselect.tpl" field=$mobile_theme}} +{{if $expert}} +{{include file="field_checkbox.tpl" field=$user_scalable}} +{{/if}} {{include file="field_input.tpl" field=$ajaxint}} {{include file="field_input.tpl" field=$itemspage}} {{include file="field_checkbox.tpl" field=$nosmile}} |