Changeset 430 for trunk/forms.php
- Timestamp:
- Oct 11, 2012, 7:16:33 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/forms.php
r426 r430 60 60 break; 61 61 case 'Time': 62 if($this->Values[$Index] == 'Now') $this->Values[$Index] = date('G:i:s'); 63 $Edit = '<input style="width: 98%;" type="text" name="'.$Context.$Index.'" value="'.$this->Values[$Index].'" />'; 64 break; 65 case 'Date': 62 66 if($this->Values[$Index] == 'Now') $this->Values[$Index] = date('j.n.Y'); 67 $Edit = '<input style="width: 98%;" type="text" name="'.$Context.$Index.'" value="'.$this->Values[$Index].'" />'; 68 break; 69 case 'DateTime': 70 if($this->Values[$Index] == 'Now') $this->Values[$Index] = date('j.n.Y G:i:s'); 63 71 $Edit = '<input style="width: 98%;" type="text" name="'.$Context.$Index.'" value="'.$this->Values[$Index].'" />'; 64 72 break;
Note:
See TracChangeset
for help on using the changeset viewer.