Ignore:
Timestamp:
Jan 7, 2014, 10:17:46 PM (11 years ago)
Author:
chronos
Message:
  • Added: More client version value on pages as clickable link.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Export/Page.php

    r727 r728  
    599599                        if($Export['OutputType'] == '') $Output .= ShowMessage('Nevybrán typ exportu', MESSAGE_CRITICAL);
    600600                        else {
    601                                 $Query = 'SELECT `ClientVersion`.* FROM `ExportVersion` LEFT JOIN `ClientVersion` ON `ClientVersion`.`Id`=`ExportVersion`.`ClientVersion` WHERE `ExportType`='.$Export['OutputType'];
     601                                $Query = 'SELECT `ClientVersion`.* FROM `ExportVersion` '.
     602                                  'LEFT JOIN `ClientVersion` ON `ClientVersion`.`Id`=`ExportVersion`.`ClientVersion` WHERE `ExportType`='.$Export['OutputType'];
    602603       
    603604                                $DbResult = $this->System->Database->query('SELECT COUNT(*) FROM ('.$Query.') AS `X`');
     
    631632                                while($Version = $DbResult->fetch_assoc())
    632633                                {
    633                                         $Output .= '<tr><td><a href="http://www.wowwiki.com/Patch_'.$Version['Version'].'">'.
     634                                        $Output .= '<tr><td><a href="'.$this->System->Link('/client-version/?action=item&amp;id='.$Version['Id']).'">'.
    634635                                                        $Version['Version'].'</a></td><td>'.$Version['BuildNumber'].'</td><td>'.
    635636                                                        HumanDate($Version['ReleaseDate']).'</td><td>'.$Version['Title'].'</td><td>'.
Note: See TracChangeset for help on using the changeset viewer.