Ignore:
Timestamp:
May 25, 2014, 12:14:02 AM (10 years ago)
Author:
chronos
Message:
  • Modified: Files in Module directory should not be directly showing any web content. They need to register custom Page descendent class.
File:
1 edited

Legend:

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

    r765 r806  
    66include_once(dirname(__FILE__).'/TranslationList.php');
    77include_once(dirname(__FILE__).'/Progress.php');
     8include_once(dirname(__FILE__).'/LoadNames.php');
    89
    910class ModuleTranslation extends AppModule
     
    2930        $this->System->RegisterPage('progress', 'PageProgress');
    3031    $this->System->RegisterPage('TranslationList.php', 'PageTranslationList');
     32    $this->System->RegisterPage('LoadNames.php', 'PageLoadNames');
    3133    $this->System->ModuleManager->Modules['News']->RegisterRSS(array('Title' => T('Last translations'),
    3234      'Channel' => 'translation', 'Callback' => array($this, 'ShowRSS'), 'Permission' => LICENCE_ANONYMOUS));
Note: See TracChangeset for help on using the changeset viewer.