PluginProbe
MaxButtons – Create buttons / 7.10
MaxButtons – Create buttons v7.10
6.23 6.24 6.25 6.26 6.26.1 6.27 6.28 6.3 6.4 6.5 6.6 6.7 6.8 6.9 7.0 7.1 7.1.1 7.1.2 7.1.3 7.10 7.11 7.13 7.13.1 7.13.2 7.13.3 All 100 releases
maxbuttons / blocks / tpl / switch.tpl

switch.tpl in MaxButtons – Create buttons 7.10, at blocks/tpl/switch.tpl

20 lines 671 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {if:label} <label for='%%id%%' class='switch_label %%name%%'>%%label%%</label> {/if:label}
2 <div class='input switch_button %%name%%'>
3 <label for='%%id%%' tabindex='0'>
4 <input type='checkbox' name='%%name%%' id='%%id%%' data-field='%%name%%'
5 value='%%value%%'
6 %%checked%%
7 tabindex='-1'
8 {if:disabled} disabled {/if:disabled}
9 />
10
11 <div class='the_switch' >
12
13 {if:icon} <i class='dashicons %%icon%%'></i> {/if:icon}
14 </div>
15 </label>
16 {if:error}<p class='error'>%%error%%</p>{/if:error}
17 {if:warning}<p class='warning'>%%warning%%</p>{/if:warning}
18 {if:help}<div class="help dashicons dashicons-info "><span>%%help%%</span></div>{/if:help}
19 </div>
20