]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frost-mobile/field_themeselect.tpl
allow individual choice of mobile themes
[friendica.git] / view / theme / frost-mobile / field_themeselect.tpl
index 612ab1030a5c56e25c6c18c50f5156b4d712bdac..3aa973d47bff95c4c8252b436873685a91f3f261 100644 (file)
@@ -1,7 +1,7 @@
 
        <div class='field select'>
                <label for='id_$field.0'>$field.1</label>
-               <select name='$field.0' id='id_$field.0' onchange="previewTheme(this);" >
+               <select name='$field.0' id='id_$field.0' {{ if $field.5=='preview' }}onchange="previewTheme(this);"{{ endif }} >
                        {{ for $field.4 as $opt=>$val }}<option value="$opt" {{ if $opt==$field.2 }}selected="selected"{{ endif }}>$val</option>{{ endfor }}
                </select>
                <span class='field_help'>$field.3</span>