Ignore:
Timestamp:
Jun 18, 2013, 6:58:22 PM (11 years ago)
Author:
chronos
Message:
  • Upraveno: Uživatelská podpora přepracována na aplikační modul.
Location:
trunk/Modules/User
Files:
1 added
1 moved

Legend:

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

    r544 r547  
    11<?php
     2
     3include_once(dirname(__FILE__).'/UserList.php');
     4include_once(dirname(__FILE__).'/Options.php');
     5include_once(dirname(__FILE__).'/Registration.php');
     6include_once(dirname(__FILE__).'/Profile.php');
     7
     8class ModuleUser extends AppModule
     9{
     10        function __construct($System)
     11        {
     12                parent::__construct($System);
     13                $this->Name = 'User';
     14                $this->Version = '1.0';
     15                $this->Creator = 'Chronos';
     16                $this->License = 'GNU/GPL';
     17                $this->Description = 'User and permission management';
     18                $this->Dependencies = array();
     19        }
     20       
     21        function Start()
     22        {
     23                $this->System->User = new User($this->System);
     24                $this->System->RegisterPage('userlist.php', 'PageUserList');
     25                $this->System->RegisterPage('Options.php', 'PageUserOptions');
     26                $this->System->RegisterPage('registrace.php', 'PageUserRegistration');
     27                $this->System->RegisterPage('user.php', 'PageUserProfile');
     28        }
     29}
    230
    331// User licence levels
     
    138166  }
    139167}
    140 
    141 ?>
Note: See TracChangeset for help on using the changeset viewer.