Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 3 |
CRAP | |
0.00% |
0 / 16 |
mcp_main_info | |
0.00% |
0 / 1 |
|
0.00% |
0 / 3 |
12.00 | |
0.00% |
0 / 16 |
module | |
0.00% |
0 / 1 |
2.00 | |
0.00% |
0 / 12 |
|||
install | |
0.00% |
0 / 1 |
2.00 | |
0.00% |
0 / 2 |
|||
uninstall | |
0.00% |
0 / 1 |
2.00 | |
0.00% |
0 / 2 |
<?php | |
/** | |
* | |
* This file is part of the phpBB Forum Software package. | |
* | |
* @copyright (c) phpBB Limited <https://www.phpbb.com> | |
* @license GNU General Public License, version 2 (GPL-2.0) | |
* | |
* For full copyright and license information, please see | |
* the docs/CREDITS.txt file. | |
* | |
*/ | |
class mcp_main_info | |
{ | |
function module() | |
{ | |
return array( | |
'filename' => 'mcp_main', | |
'title' => 'MCP_MAIN', | |
'modes' => array( | |
'front' => array('title' => 'MCP_MAIN_FRONT', 'auth' => '', '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 || (!$id && aclf_m_)', 'cat' => array('MCP_MAIN')), | |
), | |
); | |
} | |
function install() | |
{ | |
} | |
function uninstall() | |
{ | |
} | |
} |