1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-21 00:02:18 +02:00

[feature/events] Fix ledges in ACP and apply coding guidelines

PHPBB3-9550
This commit is contained in:
Joas Schilling 2012-03-17 00:46:43 +01:00
parent 643081d56c
commit b966551e6b
3 changed files with 6 additions and 6 deletions

View File

@ -27,7 +27,7 @@ class acp_profile
function main($id, $mode)
{
global $config, $db, $user, $auth, $template, $cache;
global $config, $db, $user, $auth, $template, $cache, $phpbb_dispatcher;
global $phpbb_root_path, $phpbb_admin_path, $phpEx, $table_prefix;
global $request;

View File

@ -30,7 +30,7 @@ class acp_users
function main($id, $mode)
{
global $config, $db, $user, $auth, $template, $cache;
global $config, $db, $user, $auth, $template, $cache, $phpbb_dispatcher;
global $phpbb_root_path, $phpbb_admin_path, $phpEx, $table_prefix, $file_uploads;
$user->add_lang(array('posting', 'ucp', 'acp/users'));

View File

@ -17,9 +17,9 @@ class acp_modules_info
global $phpbb_dispatcher;
$modules = array(
'acp' => array('title' => 'ACP', 'auth' => 'acl_a_modules', 'cat' => array('ACP_MODULE_MANAGEMENT')),
'ucp' => array('title' => 'UCP', 'auth' => 'acl_a_modules', 'cat' => array('ACP_MODULE_MANAGEMENT')),
'mcp' => array('title' => 'MCP', 'auth' => 'acl_a_modules', 'cat' => array('ACP_MODULE_MANAGEMENT')),
'acp' => array('title' => 'ACP', 'auth' => 'acl_a_modules', 'cat' => array('ACP_MODULE_MANAGEMENT')),
'ucp' => array('title' => 'UCP', 'auth' => 'acl_a_modules', 'cat' => array('ACP_MODULE_MANAGEMENT')),
'mcp' => array('title' => 'MCP', 'auth' => 'acl_a_modules', 'cat' => array('ACP_MODULE_MANAGEMENT')),
),
$vars = array('modules');
@ -31,7 +31,7 @@ class acp_modules_info
'filename' => 'acp_modules',
'title' => 'ACP_MODULE_MANAGEMENT',
'version' => '1.0.0',
'modes' => $modules
'modes' => $modules,
);
return $data