From: rabuzarus <> Date: Thu, 5 Jan 2017 01:52:39 +0000 (+0100) Subject: Frio: Show mobile theme selection only if mobile themes are available X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0994a0ced50c30f5b7a640570f23416b8808c6a6;p=friendica.git Frio: Show mobile theme selection only if mobile themes are available --- diff --git a/view/theme/frio/templates/settings_display.tpl b/view/theme/frio/templates/settings_display.tpl index 06709f3043..e2b84fc34b 100644 --- a/view/theme/frio/templates/settings_display.tpl +++ b/view/theme/frio/templates/settings_display.tpl @@ -22,7 +22,10 @@ {{include file="field_themeselect.tpl" field=$theme}} + {{* 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}} + {{/if}}