Ignore:
Timestamp:
Sep 13, 2013, 8:58:04 PM (11 years ago)
Author:
chronos
Message:
  • Modified: Page statistic moved to module Translation and renamed to progress.
File:
1 edited

Legend:

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

    r581 r584  
    55include_once(dirname(__FILE__).'/Save.php');
    66include_once(dirname(__FILE__).'/TranslationList.php');
     7include_once(dirname(__FILE__).'/Progress.php');
    78
    89class ModuleTranslation extends AppModule
     
    2425        $this->System->RegisterPage('form.php', 'PageTranslationForm');
    2526        $this->System->RegisterPage('save.php', 'PageTranslationSave');
     27        $this->System->RegisterPage('progress', 'PageProgress');
    2628    $this->System->RegisterPage('TranslationList.php', 'PageTranslationList');
    2729    $this->System->ModuleManager->Modules['News']->RegisterRSS(array('Title' => 'Poslední překlady',
    2830      'Channel' => 'translation', 'Callback' => array($this, 'ShowRSS'), 'Permission' => LICENCE_ANONYMOUS));
     31    $this->System->RegisterMenuItem(array(
     32        'Title' => 'Stav dokončení',
     33        'Hint' => 'Stav dokončení překládů',
     34        'Link' => $this->System->Link('/progress/'),
     35        'Permission' => LICENCE_ANONYMOUS,
     36        'Icon' => '',
     37    ), 1);   
    2938  }
    3039 
Note: See TracChangeset for help on using the changeset viewer.