Changeset 455 for trunk/Common/Types/Date.php
- Timestamp:
- Oct 30, 2012, 6:51:08 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Types/Date.php
r445 r455 11 11 global $MonthNames; 12 12 13 if($Item['Value'] == 0) return(''); 13 14 if((strtolower($Item['Value']) == 'now') or (strtolower($Item['Value']) == '')) $Item['Value'] = time(); 14 15 $Parts = getdate($Item['Value']); … … 25 26 $Parts = getdate($Item['Value']); 26 27 28 $Output = ''; 29 //if($Item['Value'] == '') $Checked = ' checked="1"'; else $Checked = ''; 30 //$Output .= '<input type="checkbox" name="'.$Item['Name'].'-null"'.$Checked.'/>'; 31 27 32 // Day 28 $Output = '<select name="'.$Item['Name'].'-day">';33 $Output .= '<select name="'.$Item['Name'].'-day">'; 29 34 for($I = 1; $I <= 31; $I++) 30 35 {
Note:
See TracChangeset
for help on using the changeset viewer.