mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/11582] Add new service for permissions
Replace calls to the language-array type with a call to get_types() PHPBB3-11582
This commit is contained in:
@@ -82,16 +82,12 @@ $lang = array_merge($lang, array(
|
||||
'user_group' => 'Users & Groups',
|
||||
),
|
||||
|
||||
// With defining 'global' here we are able to specify what is printed out if the permission is within the global scope.
|
||||
'permission_type' => array(
|
||||
'u_' => 'User permissions',
|
||||
'a_' => 'Admin permissions',
|
||||
'm_' => 'Moderator permissions',
|
||||
'f_' => 'Forum permissions',
|
||||
'global' => array(
|
||||
'm_' => 'Global moderator permissions',
|
||||
),
|
||||
),
|
||||
|
||||
'ACL_TYPE_USER' => 'User permissions',
|
||||
'ACL_TYPE_ADMIN' => 'Admin permissions',
|
||||
'ACL_TYPE_MODERATOR' => 'Moderator permissions',
|
||||
'ACL_TYPE_FORUM' => 'Forum permissions',
|
||||
'ACL_TYPE_GLOBAL_MODERATOR' => 'Global moderator permissions',
|
||||
));
|
||||
|
||||
// User Permissions
|
||||
|
Reference in New Issue
Block a user