Changeset 900 for trunk/Modules/User/Profile.php
- Timestamp:
- Apr 10, 2024, 11:49:39 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/User/Profile.php
r893 r900 37 37 38 38 $Output .= '<h3>'.T('Exports').'</h3>'. 39 39 $PageList['Output']; 40 40 41 41 $TableColumns = array( 42 43 44 45 46 47 48 49 42 array('Name' => 'TimeCreate', 'Title' => T('Creation time')), 43 array('Name' => 'Title', 'Title' => T('Name')), 44 // array('Name' => 'UserCount', 'Title' => 'Vybraných překladatelů'), 45 // array('Name' => 'GroupCount', 'Title' => 'Překladových skupin'), 46 array('Name' => 'OutputType', 'Title' => T('Output type')), 47 array('Name' => 'ClientVersion', 'Title' => T('Client version')), 48 array('Name' => 'UsedCount', 'Title' => T('Output inspections')), 49 array('Name' => '', 'Title' => T('Actions')), 50 50 ); 51 51 $Order = GetOrderTableHeader($TableColumns, 'TimeCreate', 1); … … 73 73 } 74 74 $Output .= '</table>'. 75 75 $PageList['Output']; 76 76 77 77 $Output .= '<div style="text-align: center;"><a href="'.$this->System->Link('/export/').'">'.T('Export page').'</a></div>'; … … 141 141 { 142 142 $Output = ''; 143 if (!is_numeric($_GET['user'])) 144 { 145 $Output .= ShowMessage('Uživatel nenalezen', MESSAGE_CRITICAL); 146 return $Output; 147 } 143 148 $User = ModuleUser::Cast($this->System->GetModule('User'))->User; 144 149 $Query = 'SELECT `User`.`Name`, `UserTrace`.`LastLogin`, `UserTrace`.`LastIP`, '. … … 177 182 $Output .= T('Translator is using this rules:').'<br />'; 178 183 $Output .= '<ul>'; 179 while ($UserTag = $DbResult->fetch_array()) { 184 while ($UserTag = $DbResult->fetch_array()) 185 { 180 186 $Output .= ' <li>'.$UserTag['Text'].'</li>'; 181 187 }
Note:
See TracChangeset
for help on using the changeset viewer.