Ignore:
Timestamp:
Feb 23, 2015, 12:03:22 AM (10 years ago)
Author:
chronos
Message:
  • Fixed: Regeneration of team level images from admin page.
  • Added: Show link to client version from import table and translation list table.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Translation/TranslationList.php

    r816 r817  
    262262        array('Name' => 'Entry', 'Title' => 'Položka'),
    263263        array('Name' => $TranslationTree[$Filter['Group']]['Items'][0]['Column'], 'Title' => 'Název'),
    264         array('Name' => 'VersionStart', 'Title' => 'Verze'),
     264        array('Name' => 'VersionStart', 'Title' => 'Verze od'),
     265        array('Name' => 'VersionEnd', 'Title' => 'Verze do'),
    265266        array('Name' => 'LanguageName', 'Title' => 'Jazyk'),
    266267        array('Name' => 'UserName', 'Title' => 'Překladatel'),
     
    275276    while($Line = $DbResult->fetch_assoc())
    276277    {
    277       $Output .= '<tr><td><a href="form.php?group='.$Filter['Group'].'&amp;ID='.$Line['ID'].'">'.$Line['ID'].'</a></td><td>'.$Line['Entry'].'</td>'.
    278           '<td>'.htmlspecialchars($Line[$TranslationTree[$Filter['Group']]['Items'][0]['Column']]).'</td>'.
    279           '<td>'.$Line['VersionStartText'].'-'.$Line['VersionEndText'].'</td>'.
    280           '<td>'.$Line['LanguageName'].'</td>'.
    281           '<td><a href="user.php?user='.$Line['UserId'].'">'.$Line['UserName'].'</a></td>'.
    282           '<td>'.HumanDate($Line['ModifyTime']).'</td>'
    283           ;
    284       '</tr>';
     278      $Output .= '<tr><td><a href="form.php?group='.$Filter['Group'].'&amp;ID='.$Line['ID'].'">'.$Line['ID'].'</a></td>'.
     279        '<td>'.$Line['Entry'].'</td>'.
     280        '<td>'.htmlspecialchars($Line[$TranslationTree[$Filter['Group']]['Items'][0]['Column']]).'</td>'.
     281        '<td><a href="'.$this->System->Link('/client-version/?action=item&amp;id='.
     282          GetVersionWOWId($Line['VersionStart'])).'">'.GetVersionWOW($Line['VersionStart']).'</a></td>'.
     283        '<td><a href="'.$this->System->Link('/client-version/?action=item&amp;id='.
     284          GetVersionWOWId($Line['VersionEnd'])).'">'.GetVersionWOW($Line['VersionEnd']).'</a></td>'.
     285        '<td>'.$Line['LanguageName'].'</td>'.
     286        '<td><a href="user.php?user='.$Line['UserId'].'">'.$Line['UserName'].'</a></td>'.
     287        '<td>'.HumanDate($Line['ModifyTime']).'</td>'.
     288        '</tr>';
    285289    }
    286290    $Output .= '</table>'.
     
    337341    while($Group = $DbResult->fetch_assoc())
    338342    {
    339       $Output .= '<tr><td><a href="?group='.$Group['Id'].'&amp;action=filter">'.$Group['Name'].'</a></td><td>'.$Group['SourceType'].'</td><td>';
     343      $Output .= '<tr><td><a href="?group='.$Group['Id'].'&amp;action=filter">'.$Group['Name'].'</a></td>'.
     344      '<td>'.$Group['SourceType'].'</td><td>';
    340345      if($Group['MangosTable'] != '') $Output .= $Group['MangosTable'].'.sql ';
    341346      if($Group['DBCFileName'] != '') $Output .= $Group['DBCFileName'].'.dbc ';
Note: See TracChangeset for help on using the changeset viewer.