Show mobile theme selection only if mobile themes are available (default template)
This commit is contained in:
parent
0994a0ced5
commit
898761b4a0
1 changed files with 5 additions and 0 deletions
|
@ -6,7 +6,12 @@
|
||||||
|
|
||||||
{{include file="field_themeselect.tpl" field=$theme}}
|
{{include file="field_themeselect.tpl" field=$theme}}
|
||||||
{{include file="field_input.tpl" field=$itemspage_network}}
|
{{include file="field_input.tpl" field=$itemspage_network}}
|
||||||
|
|
||||||
|
{{* Show the mobile theme selection only if mobile themes are available *}}
|
||||||
|
{{if count($mobile_theme.4) > 1}}
|
||||||
{{include file="field_themeselect.tpl" field=$mobile_theme}}
|
{{include file="field_themeselect.tpl" field=$mobile_theme}}
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
{{include file="field_input.tpl" field=$itemspage_mobile_network}}
|
{{include file="field_input.tpl" field=$itemspage_mobile_network}}
|
||||||
{{include file="field_input.tpl" field=$ajaxint}}
|
{{include file="field_input.tpl" field=$ajaxint}}
|
||||||
{{include file="field_checkbox.tpl" field=$nowarn_insecure}}
|
{{include file="field_checkbox.tpl" field=$nowarn_insecure}}
|
||||||
|
|
Loading…
Reference in a new issue