1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-07 01:06:48 +02:00

- more acp additions and changes...

git-svn-id: file:///svn/phpbb/trunk@5310 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2005-11-20 18:58:34 +00:00
parent 9f1f945d5d
commit 0202eb8a66
18 changed files with 1477 additions and 57 deletions

View File

@@ -23,7 +23,7 @@
*/
class acp_modules
{
var $mode = '';
var $module_class = '';
function main($id, $mode)
{
@@ -45,6 +45,8 @@ class acp_modules
$user->add_lang('ucp');
}
$this->page_title = strtoupper($this->module_class);
$u_action = "{$phpbb_admin_path}index.$phpEx$SID&i=$id&mode=$mode";
$parent_id = request_var('parent_id', 0);
$module_id = request_var('m', 0);
@@ -590,6 +592,8 @@ class acp_modules
}
}
closedir($dh);
ksort($fileinfo);
}
else
{
@@ -988,7 +992,7 @@ class acp_modules_info
'version' => '1.0.0',
'modes' => array(
'acp' => array('title' => 'ACP', 'auth' => 'acl_a_modules'),
'ucp' => array('title' => 'USER_CONTROL_PANEL', 'auth' => 'acl_a_modules'),
'ucp' => array('title' => 'UCP', 'auth' => 'acl_a_modules'),
'mcp' => array('title' => 'MCP', 'auth' => 'acl_a_modules'),
),
);