Files
Froxlor/templates/Sparkle/formfields/bool.tpl

5 lines
196 B
Smarty

<tr>
<td>{$label}</td>
<td><input <if $do_show == 0>disabled="disabled"</if> type="checkbox" name="{$fieldname}" value="1" <if( $fielddata['value'] == '1' )>checked="checked"</if> /></td>
</tr>