1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

Module information, exactly what it says on the tin

git-svn-id: file:///svn/phpbb/trunk@5306 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Graham Eames
2005-11-18 22:16:59 +00:00
parent d6b2182c7e
commit 68e80ad2df
2 changed files with 57 additions and 0 deletions

View File

@@ -967,4 +967,33 @@ function mcp_fork_topic($topic_ids)
}
}
/**
* @package module_install
*/
class mcp_main_info
{
function module()
{
return array(
'filename' => 'mcp_main',
'title' => 'MCP_MAIN',
'version' => '1.0.0',
'modes' => array(
'front' => array('title' => 'MCP_MAIN_FRONT', 'auth' => 'acl_m'),
'forum_view' => array('title' => 'MCP_MAIN_FORUM_VIEW', 'auth' => 'acl_m'),
'topic_view' => array('title' => 'MCP_MAIN_TOPIC_VIEW', 'auth' => 'acl_m'),
'post_details' => array('title' => 'MCP_MAIN_POST_DETAILS', 'auth' => 'acl_m'),
),
);
}
function install()
{
}
function uninstall()
{
}
}
?>