Changeset 42 for trunk/Base/Types/Boolean.php
- Timestamp:
- Nov 24, 2009, 9:13:38 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Base/Types/Boolean.php
r40 r42 1 1 <?php 2 3 include_once(dirname(__FILE__).'/Base.php'); 2 4 3 5 class TypeBoolean extends TypeBase … … 8 10 { 9 11 if($Item['Value'] == 1) $Checked = ' checked="1"'; else $Checked = ''; 10 return('<input type="checkbox" name="'.$Item['Name'].'" disabled="1"'.$Checked.' >');12 return('<input type="checkbox" name="'.$Item['Name'].'" disabled="1"'.$Checked.'/>'); 11 13 } 12 14 … … 14 16 { 15 17 if($Item['Value'] == 1) $Checked = ' checked="1"'; else $Checked = ''; 16 return('<input type="checkbox" name="'.$Item['Name'].'"'.$Checked.' >');18 return('<input type="checkbox" name="'.$Item['Name'].'"'.$Checked.'/>'); 17 19 } 18 20
Note:
See TracChangeset
for help on using the changeset viewer.