Changeset 951 for trunk/Modules/User/User.php
- Timestamp:
- Jul 12, 2023, 9:02:24 PM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/User/User.php
r916 r951 50 50 Core::Cast($this->System)->RegisterPage(['user'], 'PageUser'); 51 51 Core::Cast($this->System)->RegisterPageBarItem('Top', 'User', array($this, 'TopBarCallback')); 52 $this->System->FormManager->RegisterClass('UserLogin', array(52 Core::Cast($this->System)->FormManager->RegisterClass('UserLogin', array( 53 53 'Title' => 'Přihlášení uživatele', 54 54 'SubmitText' => 'Přihlásit', … … 60 60 ), 61 61 )); 62 $this->System->FormManager->RegisterClass('UserOptions', array(62 Core::Cast($this->System)->FormManager->RegisterClass('UserOptions', array( 63 63 'Title' => 'Základní nastavení', 64 64 'Table' => 'User', … … 72 72 ), 73 73 )); 74 $this->System->FormManager->RegisterClass('UserRegister', array(74 Core::Cast($this->System)->FormManager->RegisterClass('UserRegister', array( 75 75 'Title' => 'Registrace uživatele', 76 76 'SubmitText' => 'Registrovat', … … 84 84 ), 85 85 )); 86 $this->System->FormManager->RegisterClass('PasswordRecovery', array(86 Core::Cast($this->System)->FormManager->RegisterClass('PasswordRecovery', array( 87 87 'Title' => 'Obnova hesla', 88 88 'SubmitText' => 'Obnovit', … … 93 93 ), 94 94 )); 95 $this->System->FormManager->RegisterClass('APIToken', array(95 Core::Cast($this->System)->FormManager->RegisterClass('APIToken', array( 96 96 'Title' => 'Přístupový token', 97 97 'Table' => 'APIToken', … … 101 101 ), 102 102 )); 103 $this->System->FormManager->RegisterClass('User', array(103 Core::Cast($this->System)->FormManager->RegisterClass('User', array( 104 104 'Title' => 'Uživatelé', 105 105 'Table' => 'User', … … 120 120 ), 121 121 )); 122 $this->System->FormManager->RegisterClass('PermissionUserAssignment', array(122 Core::Cast($this->System)->FormManager->RegisterClass('PermissionUserAssignment', array( 123 123 'Title' => 'Oprávnění uživatelů', 124 124 'Table' => 'PermissionUserAssignment', … … 129 129 ), 130 130 )); 131 $this->System->FormManager->RegisterClass('PermissionGroup', array(131 Core::Cast($this->System)->FormManager->RegisterClass('PermissionGroup', array( 132 132 'Title' => 'Skupiny oprávnění', 133 133 'Table' => 'PermissionGroup', … … 138 138 ), 139 139 )); 140 $this->System->FormManager->RegisterClass('PermissionGroupAssignment', array(140 Core::Cast($this->System)->FormManager->RegisterClass('PermissionGroupAssignment', array( 141 141 'Title' => 'Přiřazení skupin oprávnění', 142 142 'Table' => 'PermissionGroupAssignment', … … 147 147 ), 148 148 )); 149 $this->System->FormManager->RegisterClass('PermissionOperation', array(149 Core::Cast($this->System)->FormManager->RegisterClass('PermissionOperation', array( 150 150 'Title' => 'Operace oprávnění', 151 151 'Table' => 'PermissionOperation', … … 158 158 ), 159 159 )); 160 $this->System->FormManager->RegisterFormType('TUser', array(160 Core::Cast($this->System)->FormManager->RegisterFormType('TUser', array( 161 161 'Type' => 'Reference', 162 162 'Table' => 'User', … … 165 165 'Filter' => '1', 166 166 )); 167 $this->System->FormManager->RegisterFormType('TPermissionGroup', array(167 Core::Cast($this->System)->FormManager->RegisterFormType('TPermissionGroup', array( 168 168 'Type' => 'Reference', 169 169 'Table' => 'PermissionGroup', … … 172 172 'Filter' => '1', 173 173 )); 174 $this->System->FormManager->RegisterFormType('TPermissionGroupAssignment', array(174 Core::Cast($this->System)->FormManager->RegisterFormType('TPermissionGroupAssignment', array( 175 175 'Type' => 'Reference', 176 176 'Table' => 'PermissionGroupAssignment', … … 179 179 'Filter' => '1', 180 180 )); 181 $this->System->FormManager->RegisterFormType('TPermissionOperation', array(181 Core::Cast($this->System)->FormManager->RegisterFormType('TPermissionOperation', array( 182 182 'Type' => 'Reference', 183 183 'Table' => 'PermissionOperation',
Note:
See TracChangeset
for help on using the changeset viewer.