diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2005-11-20 18:58:34 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2005-11-20 18:58:34 +0000 |
commit | 0202eb8a66920b43d37582bbd205a25f68523150 (patch) | |
tree | b3a4305900778053b729f15bcca1b244d2d510f8 /phpBB/includes/acp/acp_modules.php | |
parent | 9f1f945d5d78f049bf44e0c6afb7eefeb549f406 (diff) | |
download | forums-0202eb8a66920b43d37582bbd205a25f68523150.tar forums-0202eb8a66920b43d37582bbd205a25f68523150.tar.gz forums-0202eb8a66920b43d37582bbd205a25f68523150.tar.bz2 forums-0202eb8a66920b43d37582bbd205a25f68523150.tar.xz forums-0202eb8a66920b43d37582bbd205a25f68523150.zip |
- more acp additions and changes...
git-svn-id: file:///svn/phpbb/trunk@5310 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/acp_modules.php')
-rw-r--r-- | phpBB/includes/acp/acp_modules.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_modules.php b/phpBB/includes/acp/acp_modules.php index 8cd28faa39..86a7c8467f 100644 --- a/phpBB/includes/acp/acp_modules.php +++ b/phpBB/includes/acp/acp_modules.php @@ -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'), ), ); |