Changeset 8 for types/Boolean.php
- Timestamp:
- Sep 29, 2008, 2:35:42 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
types/Boolean.php
r5 r8 1 1 <?php 2 2 3 function TypeBooleanViewHtml($Type, $ Parameter, $Table, $Id)3 function TypeBooleanViewHtml($Type, $Item) 4 4 { 5 return('<input type="checkbox" name=" %name%" value="%value%" disabled="1">');5 return('<input type="checkbox" name="'.$Item['Name'].'" value="'.$Item['Value'].'" disabled="1">'); 6 6 } 7 7 8 function TypeBooleanEditHtml($Type, $ Parameter, $Table, $Id)8 function TypeBooleanEditHtml($Type, $Item) 9 9 { 10 return('<input type="checkbox" name=" %name%" value="%value%">');10 return('<input type="checkbox" name="'.$Item['Name'].'" value="'.$Item['Value'].'">'); 11 11 } 12 12
Note:
See TracChangeset
for help on using the changeset viewer.