Changeset 445 for trunk/Common/Types/Enumeration.php
- Timestamp:
- Oct 15, 2012, 6:41:56 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Types/Enumeration.php
r435 r445 18 18 $Type = $this->System->Type->GetTypeDefinition($Item['Type']); 19 19 $Output = '<select name="'.$Item['Name'].'">'; 20 foreach($Type['Parameters'] as $Index => $StateName)20 foreach($Type['Parameters']['States'] as $Index => $StateName) 21 21 { 22 22 if($Item['Value'] == $Index) $Selected = ' selected="1"'; else $Selected = '';
Note:
See TracChangeset
for help on using the changeset viewer.