Changeset 637 for trunk/Modules/User/UserList.php
- Timestamp:
- Dec 11, 2013, 1:44:54 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/User/UserList.php
r636 r637 23 23 if(array_key_exists('team', $_GET)) 24 24 { 25 $DbResult = $this->Database->select('Team', 'Name', 'Id='.$_GET['team']); 25 $TeamId = $_GET['team'] * 1; 26 $DbResult = $this->Database->select('Team', 'Name', 'Id='.$TeamId); 26 27 if($DbResult->num_rows > 0) 27 28 { … … 30 31 $TeamFilter = ' AND (`Team`='.$_GET['team'].')'; 31 32 } else { 32 $Output .= ShowMessage( 'Tým '.$_GET['team'].' nenalezen', MESSAGE_CRITICAL);33 $Output .= ShowMessage(sprintf(T('Team %d not found'), $TeamId), MESSAGE_CRITICAL); 33 34 } 34 35 } else … … 45 46 46 47 $TableColumns = array( 47 array('Name' => 'Name', 'Title' => 'Jméno'),48 array('Name' => 'TranslatedCount', 'Title' => 'Překladů'),49 array('Name' => 'XP', 'Title' => 'Úroveň'),50 array('Name' => 'XP', 'Title' => 'Zkušenost'),51 //array('Name' => 'GM', 'Title' => 'Oprávnění'),52 array('Name' => 'LastLogin', 'Title' => 'Naposledy přítomen'),53 array('Name' => 'RegistrationTime', 'Title' => 'Čas registrace'),48 array('Name' => 'Name', 'Title' => T('Name')), 49 array('Name' => 'TranslatedCount', 'Title' => T('Translated count')), 50 array('Name' => 'XP', 'Title' => T('Level')), 51 array('Name' => 'XP', 'Title' => T('Experience')), 52 //array('Name' => 'GM', 'Title' => T('GM')), 53 array('Name' => 'LastLogin', 'Title' => T('Last logged in')), 54 array('Name' => 'RegistrationTime', 'Title' => T('Registration time')), 54 55 ); 55 56 $Order = GetOrderTableHeader($TableColumns, 'TranslatedCount', 1);
Note:
See TracChangeset
for help on using the changeset viewer.