Changeset 445 for trunk/is/index.php
- Timestamp:
- Oct 15, 2012, 6:41:56 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/is/index.php
r442 r445 100 100 $Id = $this->Database->insert_id; 101 101 $_SESSION['Id'] = $Id; 102 $this->Database->update($Table, 'Id='.$Id,103 array('UserCreate' => $this->System->Modules['User']->User['Id'],104 'TimeCreate' => 'NOW()'));102 //$this->Database->update($Table, 'Id='.$Id, 103 // array('UserCreate' => $this->System->Modules['User']->User['Id'], 104 // 'TimeCreate' => 'NOW()')); 105 105 $Output .= $this->ShowView($Table, $Id); 106 106 } … … 139 139 if((array_key_exists($Item['Type'], $FormTypes) and ($FormTypes[$Item['Type']]['Type'] == 'ManyToOne'))) 140 140 { 141 $Output .= '<div style="text-align: center;">'.$Form->Definition['Title'].'</div>'; 142 $Output .= $this->ShowList($FormTypes[$Item['Type']]['Table'], '`'.$FormTypes[$Item['Type']]['Ref'].'`='.$Id).'<br/>'; 141 $Output .= $this->ShowList($FormTypes[$Item['Type']]['Table'], '`'.$FormTypes[$Item['Type']]['Ref'].'`='.$Id, $Item['Caption']).'<br/>'; 143 142 } 144 143 return($Output); 145 144 } 146 145 147 function ShowList($Table, $Filter = '' )146 function ShowList($Table, $Filter = '', $Title = '') 148 147 { 149 148 global $Type, $FormTypes, $FormClasses; … … 156 155 $PageList = GetPageList($DbRow[0]); 157 156 158 $Output = $PageList['Output']; 157 $Output = '<div style="text-align: center;">'.$FormClass['Title'].'</div>'; 158 $Output .= $PageList['Output']; 159 159 $Output .= '<table class="WideTable" style="font-size: small;">'; 160 160
Note:
See TracChangeset
for help on using the changeset viewer.