Ignore:
Timestamp:
Jan 21, 2016, 10:20:04 AM (9 years ago)
Author:
chronos
Message:
  • Modified: Function GetTranslationTree moved from global to Translation module where it belongs.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Import/Manage.php

    r848 r859  
    4343  function ShowMenu()
    4444  {
    45     global $TranslationTree, $System;
    46 
     45    $TranslationTree = $this->System->ModuleManager->Modules['Translation']->GetTranslationTree();
    4746    $Output = '<strong>Import zdrojů:</strong><br/>'.
    4847      '<a href="?action=instructions">Instrukce pro přípravu zdrojových souborů</a><br/>'.
    4948      '<a href="?action=update_translated">Zaktualizovat verze přeložených</a><br/><br/>'.
    50       'Verze klienta použitá pro import: <strong>'.$System->Config['Web']['GameVersion'].'</strong><br/>';
    51     $DbResult = $System->Database->query('SELECT COUNT(*) FROM `Group`');
     49      'Verze klienta použitá pro import: <strong>'.$this->System->Config['Web']['GameVersion'].'</strong><br/>';
     50    $DbResult = $this->System->Database->query('SELECT COUNT(*) FROM `Group`');
    5251    $DbRow = $DbResult->fetch_row();
    5352    $PageList = GetPageList($DbRow[0]);
     
    6867    $Output .= $Order['Output'];
    6968
    70     $DbResult = $System->Database->query('SELECT * FROM `Group`'.$Order['SQL'].$PageList['SQLLimit']);
     69    $DbResult = $this->System->Database->query('SELECT * FROM `Group`'.$Order['SQL'].$PageList['SQLLimit']);
    7170    while($Group = $DbResult->fetch_assoc())
    7271    {
Note: See TracChangeset for help on using the changeset viewer.