diff options
author | Graham Eames <grahamje@users.sourceforge.net> | 2005-11-18 22:16:59 +0000 |
---|---|---|
committer | Graham Eames <grahamje@users.sourceforge.net> | 2005-11-18 22:16:59 +0000 |
commit | 68e80ad2df4b119c4528f200640ba507259d2bdb (patch) | |
tree | 063a3a489b4eecd68ce48b4257bdd29311865c0b /phpBB/includes/mcp/mcp_main.php | |
parent | d6b2182c7e4111ab5110a5d5b6ed4daad7c05249 (diff) | |
download | forums-68e80ad2df4b119c4528f200640ba507259d2bdb.tar forums-68e80ad2df4b119c4528f200640ba507259d2bdb.tar.gz forums-68e80ad2df4b119c4528f200640ba507259d2bdb.tar.bz2 forums-68e80ad2df4b119c4528f200640ba507259d2bdb.tar.xz forums-68e80ad2df4b119c4528f200640ba507259d2bdb.zip |
Module information, exactly what it says on the tin
git-svn-id: file:///svn/phpbb/trunk@5306 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/mcp/mcp_main.php')
-rw-r--r-- | phpBB/includes/mcp/mcp_main.php | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/phpBB/includes/mcp/mcp_main.php b/phpBB/includes/mcp/mcp_main.php index 0c74d60d0f..f6e866bf96 100644 --- a/phpBB/includes/mcp/mcp_main.php +++ b/phpBB/includes/mcp/mcp_main.php @@ -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() + { + } +} + ?>
\ No newline at end of file |