Changeset 243 for trunk/form.php
- Timestamp:
- Jul 12, 2009, 12:28:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/form.php
r242 r243 36 36 if($Line['Language'] <> 0) 37 37 { 38 if($Line['Complete'] == 1) echo(' <b>Hotov</b> <br />');38 if($Line['Complete'] == 1) echo(' <b>Hotov</b>'); 39 39 else echo(' <b> Uložen v rozepsaných</b> '); 40 40 } else … … 42 42 echo(' <b>Anglická, původní verze</b> '); 43 43 } 44 echo (GetVersionWOW($Line['VersionStart']).' - '.GetVersionWOW($Line['VersionEnd'])); 44 echo('<br />'); 45 echo ('Verze: <b>'.GetVersionWOW($Line['VersionStart']).' - '.GetVersionWOW($Line['VersionEnd'].'</b>')); 45 46 echo('<br />'); 46 47 47 48 $version = mysql_fetch_array($Database->SQLCommand('SELECT count(*) FROM '.$Table.' Where entry = '.$Line['entry'].' AND Language <> 0')); 48 if ($version['count(*)'] > 1)49 if ($version['count(*)'] > 0) 49 50 { 50 51 echo('<form action="comparison.php" method="get"><a href="TranslationList.php?group='.$GroupId.'&action=searchentry&ID='.$Line['entry'].'">Počet verzí: <strong>'.$version['count(*)'].'</strong></a> … … 61 62 else { 62 63 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 echo('<option value="'.$version['ID'].'">'.$version['ID'].' - '.$version['User'].' ('.GetVersionWOW($version['VersionStart']).' - '.GetVersionWOW($version['VersionEnd']).')</option>'); 64 65 } 65 66 }
Note:
See TracChangeset
for help on using the changeset viewer.