Changeset 437 for trunk/TranslationList.php
- Timestamp:
- Apr 9, 2010, 11:29:26 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/TranslationList.php
r436 r437 153 153 { 154 154 if($Filter['State'] == 0) $Filter['SQL'] .= $UserFilter.$VersionFilter.''; 155 else if($Filter['State'] == 1) $Filter['SQL'] .= ' AND (`Language` = 0) AND NOT EXISTS(SELECT 1 FROM `'.$Table.'` AS `Sub` WHERE (`Sub`.`Language` <> 0)'.$LanguageFilter.$UserFilter.$VersionFilter.' AND (`Sub`.`Entry` = `T`.`Entry`) AND (`Sub`.`Complete` = 1) AND (`Sub`.`VersionStart` = `T`.`VersionStart`) AND (`Sub`.`VersionEnd` = `T`.`VersionEnd`))';155 else if($Filter['State'] == 1) $Filter['SQL'] .= $VersionFilter.' AND (`Language` = 0) AND NOT EXISTS(SELECT 1 FROM `'.$Table.'` AS `Sub` WHERE (`Sub`.`Language` <> 0)'.$LanguageFilter.$UserFilter.' AND (`Sub`.`Entry` = `T`.`Entry`) AND (`Sub`.`Complete` = 1) AND (`Sub`.`VersionStart` = `T`.`VersionStart`) AND (`Sub`.`VersionEnd` = `T`.`VersionEnd`))'; 156 156 else if($Filter['State'] == 2) $Filter['SQL'] .= $UserFilter.$LanguageFilter.$VersionFilter.' AND (`Complete` = 1)'; 157 157 else if($Filter['State'] == 3) $Filter['SQL'] .= $UserFilter.$LanguageFilter.$VersionFilter.' AND (`Language` != 0) AND (`Complete` = 0)'; … … 306 306 } 307 307 308 echo('<tr><td><form action="?group='.$GroupId.' " method="post"><div>'.309 '<input type="text" name=" search" size="8" />'.308 echo('<tr><td><form action="?group='.$GroupId.'&entry=" method="post"><div>'. 309 '<input type="text" name="text" size="8" />'. 310 310 '<input type="submit" value="Hledat" />'. 311 311 '</div></form>'. 312 312 '</td><td>Vyhledat pomocí textu</td></tr>'); 313 313 314 echo('<tr><td><form action="?group='.$GroupId.'& " method="post"><div>'.315 '<input type="text" name=" Entry" size="8" />'.314 echo('<tr><td><form action="?group='.$GroupId.'&text=" method="post"><div>'. 315 '<input type="text" name="entry" size="8" />'. 316 316 '<input type="submit" value="Hledat" />'. 317 317 '</div></form>'.
Note:
See TracChangeset
for help on using the changeset viewer.