Skip to content

Commit

Permalink
Module - language switcher showonoptions
Browse files Browse the repository at this point in the history
  • Loading branch information
brianteeman committed May 1, 2016
1 parent 9e1a2c9 commit e4a7955
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions modules/mod_languages/mod_languages.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,14 @@
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field name="spacer1" type="spacer" class="text"
label="MOD_LANGUAGES_SPACERDROP_LABEL"
/>
<field
name="image"
type="radio"
class="btn-group btn-group-yesno"
default="1"
label="MOD_LANGUAGES_FIELD_USEIMAGE_LABEL"
description="MOD_LANGUAGES_FIELD_USEIMAGE_DESC" >
description="MOD_LANGUAGES_FIELD_USEIMAGE_DESC"
showon="dropdown:0" >
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
Expand All @@ -77,7 +75,8 @@
class="btn-group btn-group-yesno"
default="1"
label="MOD_LANGUAGES_FIELD_INLINE_LABEL"
description="MOD_LANGUAGES_FIELD_INLINE_DESC" >
description="MOD_LANGUAGES_FIELD_INLINE_DESC"
showon="dropdown:0" >
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
Expand All @@ -87,20 +86,19 @@
class="btn-group btn-group-yesno"
default="1"
label="MOD_LANGUAGES_FIELD_ACTIVE_LABEL"
description="MOD_LANGUAGES_FIELD_ACTIVE_DESC" >
description="MOD_LANGUAGES_FIELD_ACTIVE_DESC"
showon="dropdown:0" >
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field name="spacer2" type="spacer" class="text"
label="MOD_LANGUAGES_SPACERNAME_LABEL"
/>
<field
name="full_name"
type="radio"
class="btn-group btn-group-yesno"
default="1"
label="MOD_LANGUAGES_FIELD_FULL_NAME_LABEL"
description="MOD_LANGUAGES_FIELD_FULL_NAME_DESC" >
description="MOD_LANGUAGES_FIELD_FULL_NAME_DESC"
showon="dropdown:0[AND]image:1" >
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
Expand Down

0 comments on commit e4a7955

Please sign in to comment.