- Timestamp:
- Jun 17, 2013, 11:19:05 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/TranslationList.php
r540 r543 199 199 '(SELECT `User`.`Name` FROM `User` WHERE `User`.`ID` = `T`.`User`) AS `UserName`, '. 200 200 '(SELECT `User`.`Id` FROM `User` WHERE `User`.`ID` = `T`.`User`) AS `UserId`, '. 201 '(SELECT `Language`.`Name` FROM `Language` WHERE `Language`.`ID` = `T`.`Language`) AS `LanguageName` '. 201 '(SELECT `Language`.`Name` FROM `Language` WHERE `Language`.`ID` = `T`.`Language`) AS `LanguageName`, '. 202 '(SELECT `ClientVersion`.`Version` FROM `ClientVersion` WHERE `ClientVersion`.`BuildNumber` = `T`.`VersionStart`) AS `VersionStartText`, '. 203 '(SELECT `ClientVersion`.`Version` FROM `ClientVersion` WHERE `ClientVersion`.`BuildNumber` = `T`.`VersionEnd`) AS `VersionEndText` '. 202 204 'FROM `'.$Table.'` AS `T` WHERE 1 '.$Filter['SQL']; 203 205 … … 226 228 $Output .= '<tr><td><a href="form.php?group='.$Filter['Group'].'&ID='.$Line['ID'].'">'.$Line['ID'].'</a></td><td>'.$Line['Entry'].'</td>'. 227 229 '<td>'.htmlspecialchars($Line[$TranslationTree[$Filter['Group']]['Items'][0]['Column']]).'</td>'. 228 '<td>'. GetVersionWOW($Line['VersionStart']).'-'.GetVersionWOW($Line['VersionEnd']).'</td>'.230 '<td>'.$Line['VersionStartText'].'-'.$Line['VersionEndText'].'</td>'. 229 231 '<td>'.$Line['LanguageName'].'</td>'. 230 232 '<td><a href="user.php?user='.$Line['UserId'].'">'.$Line['UserName'].'</a></td>'; -
trunk/admin/UpdateTrace.php
r539 r543 2562 2562 } 2563 2563 2564 function UpdateTo543($Manager) 2565 { 2566 $Manager->Execute('ALTER TABLE `Group` ADD INDEX ( `Name` )'); 2567 } 2568 2564 2569 $Updates = array( 2565 2570 498 => array('Revision' => 506, 'Function' => 'UpdateTo506'), … … 2568 2573 524 => array('Revision' => 537, 'Function' => 'UpdateTo537'), 2569 2574 537 => array('Revision' => 539, 'Function' => 'UpdateTo539'), 2575 539 => array('Revision' => 543, 'Function' => 'UpdateTo543'), 2570 2576 ); 2571 2577 -
trunk/img_level.php
r540 r543 116 116 if($Group['TablePrefix'] != '') 117 117 { 118 $Count = '(SELECT COUNT(*) FROM `'.$Group['TablePrefix'].'` WHERE (`Complete` = 1) AND (`Language` <> '.$Config['OriginalLanguage'].') AND (`User`='.$LineUser['ID'].'))'; 118 $Count = '(SELECT COUNT(*) FROM `'.$Group['TablePrefix'].'` WHERE (`Complete` = 1) AND (`Language` <> '. 119 $Config['OriginalLanguage'].') AND (`User`='.$LineUser['ID'].'))'; 119 120 $TranslatedCount .= 'COALESCE('.$Count.', 0) + '; 120 121 } … … 128 129 129 130 // Main code for translation teams 130 $DbResult = $System->Database->query('SELECT `ID`, `Name`, (SELECT AVG(`XP`) FROM `User` WHERE `Team` = `Team`.`Id`) AS `Average` FROM `Team` WHERE `ID` IN (SELECT `Team` FROM `User` WHERE `NeedUpdate` = 1)'); 131 $DbResult = $System->Database->query('SELECT `ID`, `Name`, (SELECT AVG(`XP`) FROM `User` WHERE `Team` = `Team`.`Id`) AS `Average` '. 132 'FROM `Team` WHERE `ID` IN (SELECT `Team` FROM `User` WHERE `NeedUpdate` = 1)'); 131 133 while($LineTeam = $DbResult->fetch_array()) 132 134 { -
trunk/includes/Version.php
r542 r543 1 1 <?php 2 2 3 $Revision = 54 2; // Subversion revision4 $DatabaseRevision = 5 39; // Database structure revision3 $Revision = 543; // Subversion revision 4 $DatabaseRevision = 543; // Database structure revision 5 5 $ReleaseTime = '2013-06-17'; 6 6
Note:
See TracChangeset
for help on using the changeset viewer.