Changeset 616
- Timestamp:
- Dec 22, 2013, 9:26:00 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/Version.php
r615 r616 1 1 <?php 2 2 3 $Revision = 61 5; // Subversion revision3 $Revision = 616; // Subversion revision 4 4 $DatabaseRevision = 615; // SQL structure revision 5 $ReleaseTime = '2013-12-2 0';5 $ReleaseTime = '2013-12-22'; -
trunk/Common/Form/Types/Date.php
r572 r616 22 22 { 23 23 global $MonthNames; 24 25 if(( strtolower($Item['Value']) == 'now') or (strtolower($Item['Value']) == '')) $Item['Value'] = time();24 25 if(($Item['Value'] !== null) and ((strtolower($Item['Value']) == 'now') or (strtolower($Item['Value']) == ''))) $Item['Value'] = time(); 26 26 $Parts = getdate($Item['Value']); 27 27 … … 37 37 { 38 38 $Checked = ''; 39 $Style = 'style="display:none;"'; 39 $Style = 'style="display:none;"'; 40 40 } 41 41 $Output .= '<input type="checkbox" name="'.$Item['Name'].'-null"'.$Checked.' onclick="toggle(\''. -
trunk/Common/Form/Types/DateTime.php
r570 r616 23 23 global $MonthNames; 24 24 25 if(( strtolower($Item['Value']) == 'now') or (strtolower($Item['Value']) == '')) $Item['Value'] = time();25 if(($Item['Value'] !== null) and ((strtolower($Item['Value']) == 'now') or (strtolower($Item['Value']) == ''))) $Item['Value'] = time(); 26 26 $Parts = getdate($Item['Value']); 27 27 -
trunk/Common/Form/Types/Time.php
r570 r616 19 19 function OnEdit($Item) 20 20 { 21 if(( strtolower($Item['Value']) == 'now') or (strtolower($Item['Value']) == '')) $Item['Value'] = time();21 if(($Item['Value'] !== null) and ((strtolower($Item['Value']) == 'now') or (strtolower($Item['Value']) == ''))) $Item['Value'] = time(); 22 22 $TimeParts = getdate($Item['Value']); 23 23
Note:
See TracChangeset
for help on using the changeset viewer.