Changeset 855 for trunk/Modules/Translation/TranslationList.php
- Timestamp:
- Jan 19, 2016, 11:10:33 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Translation/TranslationList.php
r847 r855 23 23 24 24 $Output = '<form action="?" method="post">'. 25 26 27 28 29 30 31 32 33 25 '<table class="BaseTable"><tr>'. 26 '<th>'.T('Processing').'</th>'. 27 '<th>'.T('Group').'</th>'. 28 '<th>'.T('Version').'</th>'. 29 '<th>'.T('Language').'</th>'. 30 '<th>'.T('Translator').'</th>'. 31 '<th>'.T('Words').'</th>'. 32 '<th>'.T('Item').'</th>'. 33 '<th></th></tr><tr>'; 34 34 35 35 // State … … 73 73 else $Selected = ''; 74 74 $Output .= '<option value="0"'.$Selected.'>'.T('All').'</option>'; 75 $DbResult = $this->Database->query('SELECT `Id`,`Name` FROM `Group` ORDER BY `Name`');75 $DbResult = $this->Database->query('SELECT `Id`,`Name` FROM `Group`'); 76 76 while($Group = $DbResult->fetch_assoc()) 77 $Groups[T($Group['Name'])] = $Group; 78 ksort($Groups); 79 foreach($Groups as $Group) 77 80 { 78 81 if($Group['Id'] == $Filter['Group']) $Selected = ' selected="selected"'; … … 382 385 $Filter = $this->ShowFilter(); 383 386 if($Filter['Group'] > 0) $Output = $this->ShowTranslationList($Filter); 384 else $Output = $this->ShowGroupList($Filter);387 else $Output = $this->ShowGroupList($Filter); 385 388 } 386 389 return($Output);
Note:
See TracChangeset
for help on using the changeset viewer.