Changeset 658 for trunk/Modules/Translation
- Timestamp:
- Dec 19, 2013, 11:23:12 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Translation/TranslationList.php
r656 r658 41 41 else $Selected = ''; 42 42 $Output .= '<option value="5"'.$Selected.'>Rozpracované-Nepřeložené</option>'; 43 if($Filter['State'] == 6) $Selected = ' selected="selected"'; 44 else $Selected = ''; 45 $Output .= '<option value="6"'.$Selected.'>S chybějícím $N,$S..</option>'; 43 46 $Output .= '</select></td>'; 44 47 … … 171 174 ' AND (`Sub`.`Entry` = `T`.`Entry`) AND (`Sub`.`Complete` = 1) AND '. 172 175 '(`Sub`.`VersionStart` = `T`.`VersionStart`) AND (`Sub`.`VersionEnd` = `T`.`VersionEnd`))'; 176 else if($Filter['State'] == 6) { 177 178 if($Filter['Group'] != 0) 179 foreach($TranslationTree[$Filter['Group']]['Items'] as $GroupItem) 180 if($GroupItem['Visible'] == 1) { 181 $Items[] = ''. 182 '`T`.`'.$GroupItem['Column'].'` NOT LIKE "%$%" '. 183 ' AND EXISTS ('. 184 'SELECT 1 FROM `'.$Table.'` AS `Sub` WHERE `Sub`.`'.$GroupItem['Column'].'` LIKE "%$%"'. 185 ' AND `Sub`.`Entry` = `T`.`Entry` AND `Sub`.`Language` = '.$this->System->Config['OriginalLanguage'].' AND '. 186 '`Sub`.`VersionStart` = `T`.`VersionStart` AND `Sub`.`VersionEnd` = `T`.`VersionEnd`'. 187 ')'. 188 ''; 189 } 190 $Filter['SQL'] .= $UserFilter.$VersionFilter.' AND (`T`.`Complete` = 1) AND `T`.`Language` != '.$this->System->Config['OriginalLanguage']; 191 192 $Filter['SQL'] .= ' AND ('.implode(' OR ', $Items).') '; 193 194 195 196 } 173 197 } 174 198
Note:
See TracChangeset
for help on using the changeset viewer.