aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-08-13 15:32:15 +0200
committermarijus <mario@mariovavti.com>2014-08-13 15:32:15 +0200
commitbc85f7d6e3f43bee3a0362276d215dab6c72e12d (patch)
tree692d92d7ee044d7a274fa8c8a5b729390e05cb3a /view
parent802a5c2946dbb03e3869e4c4b2b22c557149847e (diff)
downloadvolse-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')
-rwxr-xr-xview/tpl/head.tpl2
-rwxr-xr-xview/tpl/settings_display.tpl3
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}}