Changeset 766 for trunk/Modules/Server


Ignore:
Timestamp:
Jan 27, 2014, 10:28:05 PM (11 years ago)
Author:
chronos
Message:
  • Modified: Table in download page made sortable with paging support.
  • Modified: Translation texts updated.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Server/Server.php

    r639 r766  
    3333                parent::__construct($System);
    3434          $this->Table = 'Server';
    35           $this->TableSQL = 'SELECT `Name`, `URL`, `Parts`, `XPRate`, `GameplayStyle`, '.
    36       '`ClientVersion`.`Version` AS `Version` FROM `Server` '.
     35          $this->TableSQL = 'SELECT `Server`.`Id`, `Name`, `URL`, `Parts`, `XPRate`, `GameplayStyle`, `Description`, `CheckIP`, `CheckPort`, '.
     36      '`ClientVersion`.`Version` AS `ClientVersion` FROM `Server` '.
    3737      'LEFT JOIN `ClientVersion` ON `ClientVersion`.`Id` = `Server`.`ClientVersion`';
    3838          $this->Definition = array(
    39             'Name' => array('Type' => 'String', 'Title' => T('Name')),
    40       'URL' => array('Type' => 'URL', 'Title' => T('URL')),
    41       'Parts' => array('Type' => 'String', 'Title' => T('Translated')),
    42       'XPRate' => array('Type' => 'String', 'Title' => T('XP rate')),
    43       'GameplayStyle' => array('Type' => 'String', 'Title' => T('Style')),
    44       'ClientVersion' => array('Type' => 'String', 'Title' => T('Client version')),     
     39            'Name' => array('Type' => 'String', 'Title' => T('Name'), 'InList' => true),
     40      'URL' => array('Type' => 'URL', 'Title' => T('URL'), 'InList' => true),
     41      'Parts' => array('Type' => 'String', 'Title' => T('Translated'), 'InList' => true),
     42      'XPRate' => array('Type' => 'String', 'Title' => T('XP rate'), 'InList' => true),
     43      'GameplayStyle' => array('Type' => 'String', 'Title' => T('Style'), 'InList' => true),
     44      'ClientVersion' => array('Type' => 'String', 'Title' => T('Client version'), 'InList' => true),     
     45      'Description' => array('Type' => 'Text', 'Title' => T('Description'), 'InList' => false),
     46      'CheckIP' => array('Type' => 'Text', 'Title' => T('Online check IP'), 'InList' => false),
     47      'CheckPort' => array('Type' => 'Text', 'Title' => T('Online check port'), 'InList' => false),
    4548          );           
    4649        }
Note: See TracChangeset for help on using the changeset viewer.