Changeset 429 for trunk/is/index.php
- Timestamp:
- Oct 11, 2012, 2:08:59 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/is/index.php
r428 r429 39 39 function ShowTable($FormClass) 40 40 { 41 global $Type ;41 global $Type, $FormTypes; 42 42 43 43 $DbResult = $this->Database->query('SELECT COUNT(*) FROM `'.$FormClass['Table'].'`'); … … 62 62 { 63 63 //$Output .= '<td>'.$Row[$ItemIndex].'</td>'; 64 $Output .= '<td>'.$Type->ExecuteTypeEvent($FormItem['Type'], 'OnView', 64 if(array_key_exists($FormItem['Type'], $FormTypes)) 65 $Output .= '<td>'.$Type->ExecuteTypeEvent('OneToMany', 'OnView', 66 array('Value' => $Row[$ItemIndex], 'Name' => $ItemIndex, 67 'Type' => array('Parameters' => array($FormTypes[$FormItem['Type']]))).'</td>'; 68 else $Output .= '<td>'.$Type->ExecuteTypeEvent($FormItem['Type'], 'OnView', 65 69 array('Value' => $Row[$ItemIndex], 'Name' => $ItemIndex)).'</td>'; 66 70 }
Note:
See TracChangeset
for help on using the changeset viewer.