includes/mcp/info/mcp_main.php
author indvdum (gotoindvdum[at]gmail[dot]com)
Sat, 10 Mar 2012 02:49:04 +0400
changeset 19 6d3ca1857104
parent 0 ceef6d64c21d
permissions -rw-r--r--
RU translate fix
     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_main_info
    15 {
    16 	function module()
    17 	{
    18 		return array(
    19 			'filename'	=> 'mcp_main',
    20 			'title'		=> 'MCP_MAIN',
    21 			'version'	=> '1.0.0',
    22 			'modes'		=> array(
    23 				'front'			=> array('title' => 'MCP_MAIN_FRONT', 'auth' => '', 'cat' => array('MCP_MAIN')),
    24 				'forum_view'	=> array('title' => 'MCP_MAIN_FORUM_VIEW', 'auth' => 'acl_m_,$id', 'cat' => array('MCP_MAIN')),
    25 				'topic_view'	=> array('title' => 'MCP_MAIN_TOPIC_VIEW', 'auth' => 'acl_m_,$id', 'cat' => array('MCP_MAIN')),
    26 				'post_details'	=> array('title' => 'MCP_MAIN_POST_DETAILS', 'auth' => 'acl_m_,$id || (!$id && aclf_m_)', 'cat' => array('MCP_MAIN')),
    27 			),
    28 		);
    29 	}
    30 
    31 	function install()
    32 	{
    33 	}
    34 
    35 	function uninstall()
    36 	{
    37 	}
    38 }
    39 
    40 ?>