Changeset 656 for trunk/Modules/Translation/TranslationList.php
- Timestamp:
- Dec 16, 2013, 2:14:02 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Translation/TranslationList.php
r636 r656 38 38 else $Selected = ''; 39 39 $Output .= '<option value="4"'.$Selected.'>Anglické</option>'; 40 if($Filter['State'] == 5) $Selected = ' selected="selected"'; 41 else $Selected = ''; 42 $Output .= '<option value="5"'.$Selected.'>Rozpracované-Nepřeložené</option>'; 40 43 $Output .= '</select></td>'; 41 44 … … 162 165 ') AND (`T`.`Complete` = 0)'; 163 166 else if($Filter['State'] == 4) $Filter['SQL'] .= $VersionFilter.' AND (`T`.`Language` = '.$this->System->Config['OriginalLanguage'].')'; 167 else if($Filter['State'] == 5) $Filter['SQL'] .= $UserFilter.$VersionFilter.' AND (`T`.`Language` != '.$this->System->Config['OriginalLanguage']. 168 ') AND (`T`.`Complete` = 0)'. 169 'AND NOT EXISTS(SELECT 1 FROM `'.$Table.'` AS `Sub` WHERE '. 170 '(`Sub`.`Language` <> '.$this->System->Config['OriginalLanguage'].')'.$LanguageFilter. 171 ' AND (`Sub`.`Entry` = `T`.`Entry`) AND (`Sub`.`Complete` = 1) AND '. 172 '(`Sub`.`VersionStart` = `T`.`VersionStart`) AND (`Sub`.`VersionEnd` = `T`.`VersionEnd`))'; 164 173 } 165 174
Note:
See TracChangeset
for help on using the changeset viewer.