Changeset 238 for trunk/form.php
- Timestamp:
- Jul 3, 2009, 9:35:30 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/form.php
r214 r238 55 55 <option value="-1">Vyberte text k porovnání</option> 56 56 <option value="-1">Zobrazit/porovnat všechny</option>'); 57 $DataID = $Database->SQLCommand('SELECT *, (SELECT user.user FROM user WHERE user.id = '.$Table.'.user) as User FROM '.$Table.' WHERE (entry = '.$Line['entry'].') AND ( Language <> 0) AND (ID <> '.$Line['ID'].')');57 $DataID = $Database->SQLCommand('SELECT *, (SELECT user.user FROM user WHERE user.id = '.$Table.'.user) as User FROM '.$Table.' WHERE (entry = '.$Line['entry'].') AND (ID <> '.$Line['ID'].')'); 58 58 while($version = mysql_fetch_array($DataID)) 59 59 { 60 60 if ($version['ID'] == $Line['Take']) echo('<option value="'.$version['ID'].'">'.$version['ID'].' - '.$version['User'].' (převzato)</option>'); 61 else echo('<option value="'.$version['ID'].'">'.$version['ID'].' - '.$version['User'].'</option>'); 61 else { 62 if (0 == $version['Language']) $version['User'] = 'Předloha'; 63 echo('<option value="'.$version['ID'].'">'.$version['ID'].' - '.$version['User'].' ('.GetVersionWOW($Line['VersionStart']).' - '.GetVersionWOW($Line['VersionEnd']).')</option>'); 64 } 62 65 } 63 66 echo('</select></form>');
Note:
See TracChangeset
for help on using the changeset viewer.