Changeset 842 for trunk/includes


Ignore:
Timestamp:
Jan 12, 2016, 10:55:07 PM (9 years ago)
Author:
chronos
Message:
  • Modified: Admin section transformed to application module.
Location:
trunk/includes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/Version.php

    r841 r842  
    66// and system will need database update.
    77
    8 $Revision = 841; // Subversion revision
     8$Revision = 842; // Subversion revision
    99$DatabaseRevision = 811; // Database structure revision
    1010$ReleaseTime = '2016-01-12';
  • trunk/includes/global.php

    r838 r842  
    3333include_once(dirname(__FILE__).'/../Modules/Forum/Forum.php');
    3434include_once(dirname(__FILE__).'/../Modules/Redirection/Redirection.php');
     35include_once(dirname(__FILE__).'/../Modules/Admin/Admin.php');
    3536
    3637
  • trunk/includes/system.php

    r841 r842  
    7575      ),
    7676      array(
    77         'Title' => T('Data source'),
    78         'Hint' => 'Informace o překladových skupinách',
    79         'Link' => $this->Link('/TranslationList.php?action=grouplist'),
    80         'Permission' => LICENCE_ANONYMOUS,
    81         'Icon' => '',
    82       ),
    83       array(
    8477        'Title' => T('Presentation'),
    8578        'Hint' => 'Prezentace a motivace překladu',
     
    9386        'Link' => 'http://embed.mibbit.com/?server=game.zdechov.net%3A6667&channel=%23wowpreklad&forcePrompt=true&charset=utf-8',
    9487        'Permission' => LICENCE_ANONYMOUS,
    95         'Icon' => '',
    96       ),
    97       array(
    98         'Title' => T('Administration'),
    99         'Hint' => 'Volby pro správu',
    100         'Link' => $this->Link('/admin/'),
    101         'Permission' => LICENCE_ADMIN,
    10288        'Icon' => '',
    10389      ),
     
    162148    $this->ModuleManager->RegisterModule(new ModuleForum($this));
    163149    $this->ModuleManager->RegisterModule(new ModuleRedirection($this));
     150    $this->ModuleManager->RegisterModule(new ModuleAdmin($this));
    164151    $this->ModuleManager->FileName = dirname(__FILE__).'/../Config/ModulesConfig.php';
    165152    // TODO: Allow control from web which modules should be installed
Note: See TracChangeset for help on using the changeset viewer.