Changeset 547 for trunk/Modules/User/User.php
- Timestamp:
- Jun 18, 2013, 6:58:22 PM (11 years ago)
- Location:
- trunk/Modules/User
- Files:
-
- 1 added
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/User/User.php
r544 r547 1 1 <?php 2 3 include_once(dirname(__FILE__).'/UserList.php'); 4 include_once(dirname(__FILE__).'/Options.php'); 5 include_once(dirname(__FILE__).'/Registration.php'); 6 include_once(dirname(__FILE__).'/Profile.php'); 7 8 class 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 } 2 30 3 31 // User licence levels … … 138 166 } 139 167 } 140 141 ?>
Note:
See TracChangeset
for help on using the changeset viewer.