language/en/acp/permissions_phpbb.php
author indvdum (gotoindvdum[at]gmail[dot]com)
Wed, 07 Mar 2012 23:06:09 +0400
changeset 6 40f90a92f114
parent 0 ceef6d64c21d
permissions -rw-r--r--
Game logo
indvdum@0
     1
<?php
indvdum@0
     2
/**
indvdum@0
     3
* acp_permissions_phpbb (phpBB Permission Set) [English]
indvdum@0
     4
*
indvdum@0
     5
* @package language
indvdum@0
     6
* @version $Id$
indvdum@0
     7
* @copyright (c) 2005 phpBB Group
indvdum@0
     8
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
indvdum@0
     9
*/
indvdum@0
    10
indvdum@0
    11
/**
indvdum@0
    12
* DO NOT CHANGE
indvdum@0
    13
*/
indvdum@0
    14
if (!defined('IN_PHPBB'))
indvdum@0
    15
{
indvdum@0
    16
	exit;
indvdum@0
    17
}
indvdum@0
    18
indvdum@0
    19
if (empty($lang) || !is_array($lang))
indvdum@0
    20
{
indvdum@0
    21
	$lang = array();
indvdum@0
    22
}
indvdum@0
    23
indvdum@0
    24
// DEVELOPERS PLEASE NOTE
indvdum@0
    25
//
indvdum@0
    26
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
indvdum@0
    27
//
indvdum@0
    28
// Placeholders can now contain order information, e.g. instead of
indvdum@0
    29
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
indvdum@0
    30
// translators to re-order the output of data while ensuring it remains correct
indvdum@0
    31
//
indvdum@0
    32
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
indvdum@0
    33
// equally where a string contains only two placeholders which are used to wrap text
indvdum@0
    34
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
indvdum@0
    35
indvdum@0
    36
/**
indvdum@0
    37
*	MODDERS PLEASE NOTE
indvdum@0
    38
*
indvdum@0
    39
*	You are able to put your permission sets into a separate file too by
indvdum@0
    40
*	prefixing the new file with permissions_ and putting it into the acp
indvdum@0
    41
*	language folder.
indvdum@0
    42
*
indvdum@0
    43
*	An example of how the file could look like:
indvdum@0
    44
*
indvdum@0
    45
*	<code>
indvdum@0
    46
*
indvdum@0
    47
*	if (empty($lang) || !is_array($lang))
indvdum@0
    48
*	{
indvdum@0
    49
*		$lang = array();
indvdum@0
    50
*	}
indvdum@0
    51
*
indvdum@0
    52
*	// Adding new category
indvdum@0
    53
*	$lang['permission_cat']['bugs'] = 'Bugs';
indvdum@0
    54
*
indvdum@0
    55
*	// Adding new permission set
indvdum@0
    56
*	$lang['permission_type']['bug_'] = 'Bug Permissions';
indvdum@0
    57
*
indvdum@0
    58
*	// Adding the permissions
indvdum@0
    59
*	$lang = array_merge($lang, array(
indvdum@0
    60
*		'acl_bug_view'		=> array('lang' => 'Can view bug reports', 'cat' => 'bugs'),
indvdum@0
    61
*		'acl_bug_post'		=> array('lang' => 'Can post bugs', 'cat' => 'post'), // Using a phpBB category here
indvdum@0
    62
*	));
indvdum@0
    63
*
indvdum@0
    64
*	</code>
indvdum@0
    65
*/
indvdum@0
    66
indvdum@0
    67
// Define categories and permission types
indvdum@0
    68
$lang = array_merge($lang, array(
indvdum@0
    69
	'permission_cat'	=> array(
indvdum@0
    70
		'actions'		=> 'Actions',
indvdum@0
    71
		'content'		=> 'Content',
indvdum@0
    72
		'forums'		=> 'Forums',
indvdum@0
    73
		'misc'			=> 'Misc',
indvdum@0
    74
		'permissions'	=> 'Permissions',
indvdum@0
    75
		'pm'			=> 'Private messages',
indvdum@0
    76
		'polls'			=> 'Polls',
indvdum@0
    77
		'post'			=> 'Post',
indvdum@0
    78
		'post_actions'	=> 'Post actions',
indvdum@0
    79
		'posting'		=> 'Posting',
indvdum@0
    80
		'profile'		=> 'Profile',
indvdum@0
    81
		'settings'		=> 'Settings',
indvdum@0
    82
		'topic_actions'	=> 'Topic actions',
indvdum@0
    83
		'user_group'	=> 'Users &amp; Groups',
indvdum@0
    84
	),
indvdum@0
    85
indvdum@0
    86
	// With defining 'global' here we are able to specify what is printed out if the permission is within the global scope.
indvdum@0
    87
	'permission_type'	=> array(
indvdum@0
    88
		'u_'			=> 'User permissions',
indvdum@0
    89
		'a_'			=> 'Admin permissions',
indvdum@0
    90
		'm_'			=> 'Moderator permissions',
indvdum@0
    91
		'f_'			=> 'Forum permissions',
indvdum@0
    92
		'global'		=> array(
indvdum@0
    93
			'm_'			=> 'Global moderator permissions',
indvdum@0
    94
		),
indvdum@0
    95
	),
indvdum@0
    96
));
indvdum@0
    97
indvdum@0
    98
// User Permissions
indvdum@0
    99
$lang = array_merge($lang, array(
indvdum@0
   100
	'acl_u_viewprofile'	=> array('lang' => 'Can view profiles, memberlist and online list', 'cat' => 'profile'),
indvdum@0
   101
	'acl_u_chgname'		=> array('lang' => 'Can change username', 'cat' => 'profile'),
indvdum@0
   102
	'acl_u_chgpasswd'	=> array('lang' => 'Can change password', 'cat' => 'profile'),
indvdum@0
   103
	'acl_u_chgemail'	=> array('lang' => 'Can change e-mail address', 'cat' => 'profile'),
indvdum@0
   104
	'acl_u_chgavatar'	=> array('lang' => 'Can change avatar', 'cat' => 'profile'),
indvdum@0
   105
	'acl_u_chggrp'		=> array('lang' => 'Can change default usergroup', 'cat' => 'profile'),
indvdum@0
   106
indvdum@0
   107
	'acl_u_attach'		=> array('lang' => 'Can attach files', 'cat' => 'post'),
indvdum@0
   108
	'acl_u_download'	=> array('lang' => 'Can download files', 'cat' => 'post'),
indvdum@0
   109
	'acl_u_savedrafts'	=> array('lang' => 'Can save drafts', 'cat' => 'post'),
indvdum@0
   110
	'acl_u_chgcensors'	=> array('lang' => 'Can disable word censors', 'cat' => 'post'),
indvdum@0
   111
	'acl_u_sig'			=> array('lang' => 'Can use signature', 'cat' => 'post'),
indvdum@0
   112
indvdum@0
   113
	'acl_u_sendpm'		=> array('lang' => 'Can send private messages', 'cat' => 'pm'),
indvdum@0
   114
	'acl_u_masspm'		=> array('lang' => 'Can send messages to multiple users', 'cat' => 'pm'),
indvdum@0
   115
	'acl_u_masspm_group'=> array('lang' => 'Can send messages to groups', 'cat' => 'pm'),
indvdum@0
   116
	'acl_u_readpm'		=> array('lang' => 'Can read private messages', 'cat' => 'pm'),
indvdum@0
   117
	'acl_u_pm_edit'		=> array('lang' => 'Can edit own private messages', 'cat' => 'pm'),
indvdum@0
   118
	'acl_u_pm_delete'	=> array('lang' => 'Can remove private messages from own folder', 'cat' => 'pm'),
indvdum@0
   119
	'acl_u_pm_forward'	=> array('lang' => 'Can forward private messages', 'cat' => 'pm'),
indvdum@0
   120
	'acl_u_pm_emailpm'	=> array('lang' => 'Can e-mail private messages', 'cat' => 'pm'),
indvdum@0
   121
	'acl_u_pm_printpm'	=> array('lang' => 'Can print private messages', 'cat' => 'pm'),
indvdum@0
   122
	'acl_u_pm_attach'	=> array('lang' => 'Can attach files in private messages', 'cat' => 'pm'),
indvdum@0
   123
	'acl_u_pm_download'	=> array('lang' => 'Can download files in private messages', 'cat' => 'pm'),
indvdum@0
   124
	'acl_u_pm_bbcode'	=> array('lang' => 'Can use BBCode in private messages', 'cat' => 'pm'),
indvdum@0
   125
	'acl_u_pm_smilies'	=> array('lang' => 'Can use smilies in private messages', 'cat' => 'pm'),
indvdum@0
   126
	'acl_u_pm_img'		=> array('lang' => 'Can use [img] BBCode tag in private messages', 'cat' => 'pm'),
indvdum@0
   127
	'acl_u_pm_flash'	=> array('lang' => 'Can use [flash] BBCode tag in private messages', 'cat' => 'pm'),
indvdum@0
   128
indvdum@0
   129
	'acl_u_sendemail'	=> array('lang' => 'Can send e-mails', 'cat' => 'misc'),
indvdum@0
   130
	'acl_u_sendim'		=> array('lang' => 'Can send instant messages', 'cat' => 'misc'),
indvdum@0
   131
	'acl_u_ignoreflood'	=> array('lang' => 'Can ignore flood limit', 'cat' => 'misc'),
indvdum@0
   132
	'acl_u_hideonline'	=> array('lang' => 'Can hide online status', 'cat' => 'misc'),
indvdum@0
   133
	'acl_u_viewonline'	=> array('lang' => 'Can view hidden online users', 'cat' => 'misc'),
indvdum@0
   134
	'acl_u_search'		=> array('lang' => 'Can search board', 'cat' => 'misc'),
indvdum@0
   135
));
indvdum@0
   136
indvdum@0
   137
// Forum Permissions
indvdum@0
   138
$lang = array_merge($lang, array(
indvdum@0
   139
	'acl_f_list'		=> array('lang' => 'Can see forum', 'cat' => 'post'),
indvdum@0
   140
	'acl_f_read'		=> array('lang' => 'Can read forum', 'cat' => 'post'),
indvdum@0
   141
	'acl_f_post'		=> array('lang' => 'Can start new topics', 'cat' => 'post'),
indvdum@0
   142
	'acl_f_reply'		=> array('lang' => 'Can reply to topics', 'cat' => 'post'),
indvdum@0
   143
	'acl_f_icons'		=> array('lang' => 'Can use topic/post icons', 'cat' => 'post'),
indvdum@0
   144
	'acl_f_announce'	=> array('lang' => 'Can post announcements', 'cat' => 'post'),
indvdum@0
   145
	'acl_f_sticky'		=> array('lang' => 'Can post stickies', 'cat' => 'post'),
indvdum@0
   146
indvdum@0
   147
	'acl_f_poll'		=> array('lang' => 'Can create polls', 'cat' => 'polls'),
indvdum@0
   148
	'acl_f_vote'		=> array('lang' => 'Can vote in polls', 'cat' => 'polls'),
indvdum@0
   149
	'acl_f_votechg'		=> array('lang' => 'Can change existing vote', 'cat' => 'polls'),
indvdum@0
   150
indvdum@0
   151
	'acl_f_attach'		=> array('lang' => 'Can attach files', 'cat' => 'content'),
indvdum@0
   152
	'acl_f_download'	=> array('lang' => 'Can download files', 'cat' => 'content'),
indvdum@0
   153
	'acl_f_sigs'		=> array('lang' => 'Can use signatures', 'cat' => 'content'),
indvdum@0
   154
	'acl_f_bbcode'		=> array('lang' => 'Can use BBCode', 'cat' => 'content'),
indvdum@0
   155
	'acl_f_smilies'		=> array('lang' => 'Can use smilies', 'cat' => 'content'),
indvdum@0
   156
	'acl_f_img'			=> array('lang' => 'Can use [img] BBCode tag', 'cat' => 'content'),
indvdum@0
   157
	'acl_f_flash'		=> array('lang' => 'Can use [flash] BBCode tag', 'cat' => 'content'),
indvdum@0
   158
indvdum@0
   159
	'acl_f_edit'		=> array('lang' => 'Can edit own posts', 'cat' => 'actions'),
indvdum@0
   160
	'acl_f_delete'		=> array('lang' => 'Can delete own posts', 'cat' => 'actions'),
indvdum@0
   161
	'acl_f_user_lock'	=> array('lang' => 'Can lock own topics', 'cat' => 'actions'),
indvdum@0
   162
	'acl_f_bump'		=> array('lang' => 'Can bump topics', 'cat' => 'actions'),
indvdum@0
   163
	'acl_f_report'		=> array('lang' => 'Can report posts', 'cat' => 'actions'),
indvdum@0
   164
	'acl_f_subscribe'	=> array('lang' => 'Can subscribe forum', 'cat' => 'actions'),
indvdum@0
   165
	'acl_f_print'		=> array('lang' => 'Can print topics', 'cat' => 'actions'),
indvdum@0
   166
	'acl_f_email'		=> array('lang' => 'Can e-mail topics', 'cat' => 'actions'),
indvdum@0
   167
indvdum@0
   168
	'acl_f_search'		=> array('lang' => 'Can search the forum', 'cat' => 'misc'),
indvdum@0
   169
	'acl_f_ignoreflood' => array('lang' => 'Can ignore flood limit', 'cat' => 'misc'),
indvdum@0
   170
	'acl_f_postcount'	=> array('lang' => 'Increment post counter<br /><em>Please note that this setting only affects new posts.</em>', 'cat' => 'misc'),
indvdum@0
   171
	'acl_f_noapprove'	=> array('lang' => 'Can post without approval', 'cat' => 'misc'),
indvdum@0
   172
));
indvdum@0
   173
indvdum@0
   174
// Moderator Permissions
indvdum@0
   175
$lang = array_merge($lang, array(
indvdum@0
   176
	'acl_m_edit'		=> array('lang' => 'Can edit posts', 'cat' => 'post_actions'),
indvdum@0
   177
	'acl_m_delete'		=> array('lang' => 'Can delete posts', 'cat' => 'post_actions'),
indvdum@0
   178
	'acl_m_approve'		=> array('lang' => 'Can approve posts', 'cat' => 'post_actions'),
indvdum@0
   179
	'acl_m_report'		=> array('lang' => 'Can close and delete reports', 'cat' => 'post_actions'),
indvdum@0
   180
	'acl_m_chgposter'	=> array('lang' => 'Can change post author', 'cat' => 'post_actions'),
indvdum@0
   181
indvdum@0
   182
	'acl_m_move'	=> array('lang' => 'Can move topics', 'cat' => 'topic_actions'),
indvdum@0
   183
	'acl_m_lock'	=> array('lang' => 'Can lock topics', 'cat' => 'topic_actions'),
indvdum@0
   184
	'acl_m_split'	=> array('lang' => 'Can split topics', 'cat' => 'topic_actions'),
indvdum@0
   185
	'acl_m_merge'	=> array('lang' => 'Can merge topics', 'cat' => 'topic_actions'),
indvdum@0
   186
indvdum@0
   187
	'acl_m_info'	=> array('lang' => 'Can view post details', 'cat' => 'misc'),
indvdum@0
   188
	'acl_m_warn'	=> array('lang' => 'Can issue warnings<br /><em>This setting is only assigned globally. It is not forum based.</em>', 'cat' => 'misc'), // This moderator setting is only global (and not local)
indvdum@0
   189
	'acl_m_ban'		=> array('lang' => 'Can manage bans<br /><em>This setting is only assigned globally. It is not forum based.</em>', 'cat' => 'misc'), // This moderator setting is only global (and not local)
indvdum@0
   190
));
indvdum@0
   191
indvdum@0
   192
// Admin Permissions
indvdum@0
   193
$lang = array_merge($lang, array(
indvdum@0
   194
	'acl_a_board'		=> array('lang' => 'Can alter board settings/check for updates', 'cat' => 'settings'),
indvdum@0
   195
	'acl_a_server'		=> array('lang' => 'Can alter server/communication settings', 'cat' => 'settings'),
indvdum@0
   196
	'acl_a_jabber'		=> array('lang' => 'Can alter Jabber settings', 'cat' => 'settings'),
indvdum@0
   197
	'acl_a_phpinfo'		=> array('lang' => 'Can view php settings', 'cat' => 'settings'),
indvdum@0
   198
indvdum@0
   199
	'acl_a_forum'		=> array('lang' => 'Can manage forums', 'cat' => 'forums'),
indvdum@0
   200
	'acl_a_forumadd'	=> array('lang' => 'Can add new forums', 'cat' => 'forums'),
indvdum@0
   201
	'acl_a_forumdel'	=> array('lang' => 'Can delete forums', 'cat' => 'forums'),
indvdum@0
   202
	'acl_a_prune'		=> array('lang' => 'Can prune forums', 'cat' => 'forums'),
indvdum@0
   203
indvdum@0
   204
	'acl_a_icons'		=> array('lang' => 'Can alter topic/post icons and smilies', 'cat' => 'posting'),
indvdum@0
   205
	'acl_a_words'		=> array('lang' => 'Can alter word censors', 'cat' => 'posting'),
indvdum@0
   206
	'acl_a_bbcode'		=> array('lang' => 'Can define BBCode tags', 'cat' => 'posting'),
indvdum@0
   207
	'acl_a_attach'		=> array('lang' => 'Can alter attachment related settings', 'cat' => 'posting'),
indvdum@0
   208
indvdum@0
   209
	'acl_a_user'		=> array('lang' => 'Can manage users<br /><em>This also includes seeing the users browser agent within the viewonline list.</em>', 'cat' => 'user_group'),
indvdum@0
   210
	'acl_a_userdel'		=> array('lang' => 'Can delete/prune users', 'cat' => 'user_group'),
indvdum@0
   211
	'acl_a_group'		=> array('lang' => 'Can manage groups', 'cat' => 'user_group'),
indvdum@0
   212
	'acl_a_groupadd'	=> array('lang' => 'Can add new groups', 'cat' => 'user_group'),
indvdum@0
   213
	'acl_a_groupdel'	=> array('lang' => 'Can delete groups', 'cat' => 'user_group'),
indvdum@0
   214
	'acl_a_ranks'		=> array('lang' => 'Can manage ranks', 'cat' => 'user_group'),
indvdum@0
   215
	'acl_a_profile'		=> array('lang' => 'Can manage custom profile fields', 'cat' => 'user_group'),
indvdum@0
   216
	'acl_a_names'		=> array('lang' => 'Can manage disallowed names', 'cat' => 'user_group'),
indvdum@0
   217
	'acl_a_ban'			=> array('lang' => 'Can manage bans', 'cat' => 'user_group'),
indvdum@0
   218
indvdum@0
   219
	'acl_a_viewauth'	=> array('lang' => 'Can view permission masks', 'cat' => 'permissions'),
indvdum@0
   220
	'acl_a_authgroups'	=> array('lang' => 'Can alter permissions for individual groups', 'cat' => 'permissions'),
indvdum@0
   221
	'acl_a_authusers'	=> array('lang' => 'Can alter permissions for individual users', 'cat' => 'permissions'),
indvdum@0
   222
	'acl_a_fauth'		=> array('lang' => 'Can alter forum permission class', 'cat' => 'permissions'),
indvdum@0
   223
	'acl_a_mauth'		=> array('lang' => 'Can alter moderator permission class', 'cat' => 'permissions'),
indvdum@0
   224
	'acl_a_aauth'		=> array('lang' => 'Can alter admin permission class', 'cat' => 'permissions'),
indvdum@0
   225
	'acl_a_uauth'		=> array('lang' => 'Can alter user permission class', 'cat' => 'permissions'),
indvdum@0
   226
	'acl_a_roles'		=> array('lang' => 'Can manage roles', 'cat' => 'permissions'),
indvdum@0
   227
	'acl_a_switchperm'	=> array('lang' => 'Can use others permissions', 'cat' => 'permissions'),
indvdum@0
   228
indvdum@0
   229
	'acl_a_styles'		=> array('lang' => 'Can manage styles', 'cat' => 'misc'),
indvdum@0
   230
	'acl_a_viewlogs'	=> array('lang' => 'Can view logs', 'cat' => 'misc'),
indvdum@0
   231
	'acl_a_clearlogs'	=> array('lang' => 'Can clear logs', 'cat' => 'misc'),
indvdum@0
   232
	'acl_a_modules'		=> array('lang' => 'Can manage modules', 'cat' => 'misc'),
indvdum@0
   233
	'acl_a_language'	=> array('lang' => 'Can manage language packs', 'cat' => 'misc'),
indvdum@0
   234
	'acl_a_email'		=> array('lang' => 'Can send mass e-mail', 'cat' => 'misc'),
indvdum@0
   235
	'acl_a_bots'		=> array('lang' => 'Can manage bots', 'cat' => 'misc'),
indvdum@0
   236
	'acl_a_reasons'		=> array('lang' => 'Can manage report/denial reasons', 'cat' => 'misc'),
indvdum@0
   237
	'acl_a_backup'		=> array('lang' => 'Can backup/restore database', 'cat' => 'misc'),
indvdum@0
   238
	'acl_a_search'		=> array('lang' => 'Can manage search backends and settings', 'cat' => 'misc'),
indvdum@0
   239
));
indvdum@0
   240
indvdum@0
   241
?>