Legend:
- Unmodified
- Added
- Removed
-
forms.php
r13 r14 20 20 { 21 21 $this->DefinitionTextTypeToNumericType(); 22 $Output = '<center><form action="'.$this->OnSubmit.'" method="post"><div align="center">';22 $Output = '<center><form enctype="multipart/form-data" action="'.$this->OnSubmit.'" method="post"><div align="center">'; 23 23 $Table = $this->ShowEditBlock(); 24 24 $Output .= $this->Definition['Title'].Table($Table).$this->ShowHiddenBlock().'<input type="submit" value="'.$this->Definition['SubmitBuffonText'].'"></div></form>'; … … 41 41 if(!array_key_exists($Index, $this->Values) and isset($Item['Value'])) $this->Values[$Index] = $Item['Value']; 42 42 $Edit = ExecuteTypeEvent($Item['Type'], 'OnEdit', $Item); 43 array_push($Table['Rows'], array($Item['Caption'] .':', $Edit));43 array_push($Table['Rows'], array($Item['Caption'], $Edit)); 44 44 } 45 45 } … … 88 88 if(!array_key_exists($Item['Name'], $this->Values) and isset($Item['Value'])) $this->Values[$Item['Name']] = $Item['Value']; 89 89 $Edit = ExecuteTypeEvent($Item['Type'], 'OnView', $Item); 90 array_push($Table['Rows'], array($Item['Caption'] .':', $Edit));90 array_push($Table['Rows'], array($Item['Caption'], $Edit)); 91 91 } 92 92 return($Table);
Note:
See TracChangeset
for help on using the changeset viewer.