diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-03-05 12:47:18 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-03-05 12:47:18 +0100 |
commit | 3fa41231611872b79f33469ceec5a8af1a95294d (patch) | |
tree | 130d30906a896eba0fa25ad9bfc9af7f442e0ec2 /view | |
parent | 61f398e055649b30a343d86d9b63ad785da57d5e (diff) | |
download | volse-hubzilla-3fa41231611872b79f33469ceec5a8af1a95294d.tar.gz volse-hubzilla-3fa41231611872b79f33469ceec5a8af1a95294d.tar.bz2 volse-hubzilla-3fa41231611872b79f33469ceec5a8af1a95294d.zip |
only allow theme selection forms if there are any themes to select
Diffstat (limited to 'view')
-rwxr-xr-x | view/tpl/settings_display.tpl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/view/tpl/settings_display.tpl b/view/tpl/settings_display.tpl index 6d4267905..93cee94d6 100755 --- a/view/tpl/settings_display.tpl +++ b/view/tpl/settings_display.tpl @@ -3,9 +3,12 @@ <form action="settings/display" id="settings-form" method="post" autocomplete="off" > <input type='hidden' name='form_security_token' value='{{$form_security_token}}'> - +{{if $theme}} {{include file="field_themeselect.tpl" field=$theme}} +{{/if}} +{{if $mobile_theme}} {{include file="field_themeselect.tpl" field=$mobile_theme}} +{{/if}} {{if $expert}} {{include file="field_checkbox.tpl" field=$user_scalable}} {{/if}} |