Changeset 243 for trunk/comparison.php


Ignore:
Timestamp:
Jul 12, 2009, 12:28:48 PM (15 years ago)
Author:
maron
Message:

Menší chybičky v porovnávání textů, možnost porovnávat texty i v případě jedné verze textu.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/comparison.php

    r238 r243  
    4242if(array_key_exists('group', $_GET)) $GroupId = $_GET['group']; else $GroupId = 1;
    4343$Table = $TranslationTree[$GroupId]['TablePrefix'];
    44 if(array_key_exists('action', $_GET)) $Action = $_GET['action']; else $Action = '';
    4544
    4645if(array_key_exists('entry', $_GET))
     
    5453  } else $WhereID = '';
    5554
    56   $DataID = $Database->SQLCommand('SELECT * FROM '.$Table.' Where entry = '.$Textentry.$WhereID.' ORDER BY Language');
     55  $DataID = $Database->SQLCommand('SELECT * FROM '.$Table.' Where entry = '.$Textentry.' '.$WhereID.' ORDER BY Language');
    5756  $i = 0;
    5857  while($Line = mysql_fetch_assoc($DataID))
     
    111110          for($i = 0; $i < count($Line); $i++)
    112111          {
    113         if($i > 1)
     112        if($i > 0)
    114113                {
    115114          echo('<td>');
Note: See TracChangeset for help on using the changeset viewer.