diff options
author | Graham Eames <grahamje@users.sourceforge.net> | 2006-05-20 11:22:30 +0000 |
---|---|---|
committer | Graham Eames <grahamje@users.sourceforge.net> | 2006-05-20 11:22:30 +0000 |
commit | 86f5226025bdeee3a7890ead6ebbdfb0a6b8f3a9 (patch) | |
tree | 9f11976ed70ed62cbe9468c17f630d5f9138f7c8 /phpBB/includes/mcp | |
parent | 4ca6f06df1be159c2caa0a19cd00090a33378af1 (diff) | |
download | forums-86f5226025bdeee3a7890ead6ebbdfb0a6b8f3a9.tar forums-86f5226025bdeee3a7890ead6ebbdfb0a6b8f3a9.tar.gz forums-86f5226025bdeee3a7890ead6ebbdfb0a6b8f3a9.tar.bz2 forums-86f5226025bdeee3a7890ead6ebbdfb0a6b8f3a9.tar.xz forums-86f5226025bdeee3a7890ead6ebbdfb0a6b8f3a9.zip |
Fix a couple of issues in mcp_main
git-svn-id: file:///svn/phpbb/trunk@5938 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/mcp')
-rw-r--r-- | phpBB/includes/mcp/info/mcp_main.php | 4 | ||||
-rw-r--r-- | phpBB/includes/mcp/mcp_main.php | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/phpBB/includes/mcp/info/mcp_main.php b/phpBB/includes/mcp/info/mcp_main.php index 39aee13ec8..283c88b1a0 100644 --- a/phpBB/includes/mcp/info/mcp_main.php +++ b/phpBB/includes/mcp/info/mcp_main.php @@ -20,10 +20,10 @@ class mcp_main_info 'title' => 'MCP_MAIN', 'version' => '1.0.0', 'modes' => array( - 'forum_view' => array('title' => 'MCP_MAIN_FORUM_VIEW', 'auth' => 'acl_m_,$id', 'cat' => array('MCP_MAIN')), 'front' => array('title' => 'MCP_MAIN_FRONT', 'auth' => 'acl_m_', 'cat' => array('MCP_MAIN')), - 'post_details' => array('title' => 'MCP_MAIN_POST_DETAILS', 'auth' => 'acl_m_,$id', 'cat' => array('MCP_MAIN')), + 'forum_view' => array('title' => 'MCP_MAIN_FORUM_VIEW', 'auth' => 'acl_m_,$id', 'cat' => array('MCP_MAIN')), 'topic_view' => array('title' => 'MCP_MAIN_TOPIC_VIEW', 'auth' => 'acl_m_,$id', 'cat' => array('MCP_MAIN')), + 'post_details' => array('title' => 'MCP_MAIN_POST_DETAILS', 'auth' => 'acl_m_,$id', 'cat' => array('MCP_MAIN')), ), ); } diff --git a/phpBB/includes/mcp/mcp_main.php b/phpBB/includes/mcp/mcp_main.php index 918b368949..25699fa2c6 100644 --- a/phpBB/includes/mcp/mcp_main.php +++ b/phpBB/includes/mcp/mcp_main.php @@ -130,6 +130,8 @@ class mcp_main case 'front': include($phpbb_root_path . 'includes/mcp/mcp_front.' . $phpEx); + $user->add_lang('acp/common'); + mcp_front_view($id, $mode, $action); $this->tpl_name = 'mcp_front'; |