includes/mcp/info/mcp_reports.php
author indvdum (gotoindvdum[at]gmail[dot]com)
Sat, 10 Mar 2012 02:39:20 +0400
changeset 18 36b05a593b41
parent 0 ceef6d64c21d
permissions -rw-r--r--
Fix username allowed characters (like Cubometry game)
     1 <?php
     2 /**
     3 *
     4 * @package mcp
     5 * @version $Id$
     6 * @copyright (c) 2005 phpBB Group
     7 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
     8 *
     9 */
    10 
    11 /**
    12 * @package module_install
    13 */
    14 class mcp_reports_info
    15 {
    16 	function module()
    17 	{
    18 		return array(
    19 			'filename'	=> 'mcp_reports',
    20 			'title'		=> 'MCP_REPORTS',
    21 			'version'	=> '1.0.0',
    22 			'modes'		=> array(
    23 				'reports'			=> array('title' => 'MCP_REPORTS_OPEN', 'auth' => 'aclf_m_report', 'cat' => array('MCP_REPORTS')),
    24 				'reports_closed'	=> array('title' => 'MCP_REPORTS_CLOSED', 'auth' => 'aclf_m_report', 'cat' => array('MCP_REPORTS')),
    25 				'report_details'	=> array('title' => 'MCP_REPORT_DETAILS', 'auth' => 'acl_m_report,$id || (!$id && aclf_m_report)', 'cat' => array('MCP_REPORTS')),
    26 			),
    27 		);
    28 	}
    29 
    30 	function install()
    31 	{
    32 	}
    33 
    34 	function uninstall()
    35 	{
    36 	}
    37 }
    38 
    39 ?>