Ignore:
Timestamp:
Jan 21, 2016, 2:49:19 PM (9 years ago)
Author:
chronos
Message:
  • Modified: Now application modules are started according configuration file.
  • Added: Each module which want to show something in main page bars needs to register its callback.
File:
1 edited

Legend:

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

    r859 r860  
    2424  function DoStart()
    2525  {
    26     $TranslationTree = $this->System->ModuleManager->Modules['Translation']->GetTranslationTree();
    27 
    2826    $this->System->RegisterPage('comparison.php', 'PageTranslationComparison');
    2927    $this->System->RegisterPage('form.php', 'PageTranslationForm');
     
    5149    if(array_key_exists('Search', $this->System->ModuleManager->Modules))
    5250    {
     51      $TranslationTree = $this->System->ModuleManager->Modules['Translation']->GetTranslationTree();
    5352      foreach($TranslationTree as $Group)
    5453      {
Note: See TracChangeset for help on using the changeset viewer.