mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
ok, thought about this now for too long. I think the best solution circumventing memory consumption and not introducing "hacks" is to seperate module information (and probably more in 3.2 for installation/uninstallation) from the main code.
git-svn-id: file:///svn/phpbb/trunk@5725 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
64fbadf3d6
commit
1a8c91b0d4
83 changed files with 1604 additions and 1162 deletions
|
@ -624,7 +624,7 @@
|
||||||
<!-- ELSE -->
|
<!-- ELSE -->
|
||||||
<!-- IF group.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
|
<!-- IF group.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
|
||||||
<td><a href="{group.U_EDIT_GROUP}">{group.GROUP_NAME}</a></td>
|
<td><a href="{group.U_EDIT_GROUP}">{group.GROUP_NAME}</a></td>
|
||||||
<td><!-- IF group.S_NO_DEFAULT --><a href="{group.U_DEFAULT}">{L_GROUP_DEFAULT}</a><!-- ELSE -->{L_GROUP_DEFAULT}<!-- ENDIF --></td>
|
<td><!-- IF group.S_NO_DEFAULT --><a href="{group.U_DEFAULT}">{L_GROUP_DEFAULT}</a><!-- ELSE --><strong>{L_GROUP_DEFAULT}</strong><!-- ENDIF --></td>
|
||||||
<td><!-- IF not group.S_SPECIAL_GROUP --><a href="{group.U_DEMOTE_PROMOTE}">{group.L_DEMOTE_PROMOTE}</a><!-- ENDIF --></td>
|
<td><!-- IF not group.S_SPECIAL_GROUP --><a href="{group.U_DEMOTE_PROMOTE}">{group.L_DEMOTE_PROMOTE}</a><!-- ENDIF --></td>
|
||||||
<td><a href="{group.U_DELETE}">{L_GROUP_DELETE}</a></td>
|
<td><a href="{group.U_DELETE}">{L_GROUP_DELETE}</a></td>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
|
@ -1410,33 +1410,4 @@ class acp_attachments
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class acp_attachments_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'acp_attachments',
|
|
||||||
'title' => 'ACP_ATTACHMENTS',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'attach' => array('title' => 'ACP_ATTACHMENT_SETTINGS', 'auth' => 'acl_a_attach'),
|
|
||||||
'extensions' => array('title' => 'ACP_MANAGE_EXTENSIONS', 'auth' => 'acl_a_attach'),
|
|
||||||
'ext_groups' => array('title' => 'ACP_EXTENSION_GROUPS', 'auth' => 'acl_a_attach'),
|
|
||||||
'orphan' => array('title' => 'ACP_ORPHAN_ATTACHMENTS', 'auth' => 'acl_a_attach')
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -208,32 +208,4 @@ class acp_ban
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class acp_ban_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'acp_ban',
|
|
||||||
'title' => 'ACP_BAN',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'email' => array('title' => 'ACP_BAN_EMAILS', 'auth' => 'acl_a_ban'),
|
|
||||||
'ip' => array('title' => 'ACP_BAN_IPS', 'auth' => 'acl_a_ban'),
|
|
||||||
'user' => array('title' => 'ACP_BAN_USERNAMES', 'auth' => 'acl_a_ban'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -327,30 +327,4 @@ class acp_bbcodes
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class acp_bbcodes_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'acp_bbcodes',
|
|
||||||
'title' => 'ACP_BBCODES',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'bbcodes' => array('title' => 'ACP_BBCODES', 'auth' => 'acl_a_bbcode'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -606,38 +606,4 @@ class acp_board
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class acp_board_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'acp_board',
|
|
||||||
'title' => 'ACP_BOARD_MANAGEMENT',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'auth' => array('title' => 'ACP_AUTH_SETTINGS', 'auth' => 'acl_a_server'),
|
|
||||||
'avatar' => array('title' => 'ACP_AVATAR_SETTINGS', 'auth' => 'acl_a_board'),
|
|
||||||
'default' => array('title' => 'ACP_BOARD_DEFAULTS', 'auth' => 'acl_a_defaults'),
|
|
||||||
'settings' => array('title' => 'ACP_BOARD_SETTINGS', 'auth' => 'acl_a_board'),
|
|
||||||
'cookie' => array('title' => 'ACP_COOKIE_SETTINGS', 'auth' => 'acl_a_cookies'),
|
|
||||||
'email' => array('title' => 'ACP_EMAIL_SETTINGS', 'auth' => 'acl_a_server'),
|
|
||||||
'load' => array('title' => 'ACP_LOAD_SETTINGS', 'auth' => 'acl_a_server'),
|
|
||||||
'server' => array('title' => 'ACP_SERVER_SETTINGS', 'auth' => 'acl_a_server'),
|
|
||||||
'message' => array('title' => 'ACP_MESSAGE_SETTINGS', 'auth' => 'acl_a_defaults'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -324,31 +324,4 @@ class acp_bots
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class acp_bots_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'acp_bots',
|
|
||||||
'title' => 'ACP_BOTS',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'bots' => array('title' => 'ACP_BOTS', 'auth' => 'acl_a_bots'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -941,31 +941,4 @@ class acp_database
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class acp_database_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'acp_database',
|
|
||||||
'title' => 'ACP_DATABASE',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'backup' => array('title' => 'ACP_BACKUP', 'auth' => 'acl_a_backup'),
|
|
||||||
'restore' => array('title' => 'ACP_RESTORE', 'auth' => 'acl_a_backup'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -85,31 +85,4 @@ class acp_disallow
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class acp_disallow_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'acp_disallow',
|
|
||||||
'title' => 'ACP_DISALLOW',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'usernames' => array('title' => 'ACP_DISALLOW_USERNAMES', 'auth' => 'acl_a_names'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -226,31 +226,4 @@ class acp_email
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class acp_email_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'acp_email',
|
|
||||||
'title' => 'ACP_MASS_EMAIL',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'email' => array('title' => 'ACP_MASS_EMAIL', 'auth' => 'acl_a_email'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -1434,31 +1434,4 @@ class acp_forums
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class acp_forums_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'acp_forums',
|
|
||||||
'title' => 'ACP_FORUM_MANAGEMENT',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'manage' => array('title' => 'ACP_MANAGE_FORUMS', 'auth' => 'acl_a_forum'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -706,30 +706,4 @@ class acp_groups
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class acp_groups_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'acp_groups',
|
|
||||||
'title' => 'ACP_GROUPS_MANAGEMENT',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'manage' => array('title' => 'ACP_GROUPS_MANAGE', 'auth' => 'acl_a_group'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -639,31 +639,4 @@ class acp_icons
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class acp_icons_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'acp_icons',
|
|
||||||
'title' => 'ACP_ICONS_SMILIES',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'icons' => array('title' => 'ACP_ICONS', 'auth' => 'acl_a_icons'),
|
|
||||||
'smilies' => array('title' => 'ACP_SMILIES', 'auth' => 'acl_a_icons'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -165,29 +165,4 @@ class acp_jabber
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class acp_jabber_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'acp_jabber',
|
|
||||||
'title' => 'ACP_JABBER_SETTINGS',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'settings' => array('title' => 'ACP_JABBER_SETTINGS', 'auth' => 'acl_a_jabber'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
?>
|
|
@ -1177,30 +1177,4 @@ $lang = array_merge($lang, array(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class acp_language_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'acp_language',
|
|
||||||
'title' => 'ACP_LANGUAGE',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'lang_packs' => array('title' => 'ACP_LANGUAGE_PACKS', 'auth' => 'acl_a_language'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -139,32 +139,4 @@ class acp_logs
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class acp_logs_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'acp_logs',
|
|
||||||
'title' => 'ACP_LOGGING',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'admin' => array('title' => 'ACP_ADMIN_LOGS', 'auth' => 'acl_a_viewlogs'),
|
|
||||||
'mod' => array('title' => 'ACP_MOD_LOGS', 'auth' => 'acl_a_viewlogs'),
|
|
||||||
'critical' => array('title' => 'ACP_CRITICAL_LOGS', 'auth' => 'acl_a_viewlogs'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -404,30 +404,4 @@ class acp_main
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class acp_main_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'acp_main',
|
|
||||||
'title' => 'ACP_INDEX',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'main' => array('title' => 'ACP_INDEX', 'auth' => ''),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -568,7 +568,7 @@ class acp_modules
|
||||||
{
|
{
|
||||||
global $phpbb_root_path, $phpEx;
|
global $phpbb_root_path, $phpEx;
|
||||||
|
|
||||||
$directory = $phpbb_root_path . 'includes/' . $this->module_class . '/';
|
$directory = $phpbb_root_path . 'includes/' . $this->module_class . '/info/';
|
||||||
|
|
||||||
$fileinfo = array();
|
$fileinfo = array();
|
||||||
|
|
||||||
|
@ -582,7 +582,6 @@ class acp_modules
|
||||||
{
|
{
|
||||||
$class = str_replace(".$phpEx", '', $file) . '_info';
|
$class = str_replace(".$phpEx", '', $file) . '_info';
|
||||||
|
|
||||||
// Do not include current working file ;)
|
|
||||||
if (!class_exists($class))
|
if (!class_exists($class))
|
||||||
{
|
{
|
||||||
include($directory . $file);
|
include($directory . $file);
|
||||||
|
@ -606,7 +605,6 @@ class acp_modules
|
||||||
$filename = $this->module_class . '_' . basename($module);
|
$filename = $this->module_class . '_' . basename($module);
|
||||||
$class = $this->module_class . '_' . basename($module) . '_info';
|
$class = $this->module_class . '_' . basename($module) . '_info';
|
||||||
|
|
||||||
// Do not include current working file ;)
|
|
||||||
if (!class_exists($class))
|
if (!class_exists($class))
|
||||||
{
|
{
|
||||||
include($directory . $filename . '.' . $phpEx);
|
include($directory . $filename . '.' . $phpEx);
|
||||||
|
@ -991,32 +989,4 @@ class acp_modules
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class acp_modules_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'acp_modules',
|
|
||||||
'title' => 'ACP_MODULE_MANAGEMENT',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'acp' => array('title' => 'ACP', 'auth' => 'acl_a_modules'),
|
|
||||||
'ucp' => array('title' => 'UCP', 'auth' => 'acl_a_modules'),
|
|
||||||
'mcp' => array('title' => 'MCP', 'auth' => 'acl_a_modules'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -793,33 +793,4 @@ class acp_permission_roles
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class acp_permission_roles_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'acp_permission_roles',
|
|
||||||
'title' => 'ACP_PERMISSION_ROLES',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'admin_roles' => array('title' => 'ACP_ADMIN_ROLES', 'auth' => 'acl_a_roles'),
|
|
||||||
'user_roles' => array('title' => 'ACP_USER_ROLES', 'auth' => 'acl_a_roles'),
|
|
||||||
'mod_roles' => array('title' => 'ACP_MOD_ROLES', 'auth' => 'acl_a_roles'),
|
|
||||||
'forum_roles' => array('title' => 'ACP_FORUM_ROLES', 'auth' => 'acl_a_roles'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -853,45 +853,4 @@ class acp_permissions
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class acp_permissions_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'acp_permissions',
|
|
||||||
'title' => 'ACP_PERMISSIONS',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'intro' => array('title' => 'ACP_PERMISSIONS', 'auth' => 'acl_a_authusers || acl_a_authgroups || acl_a_viewauth'),
|
|
||||||
|
|
||||||
'setting_user_global' => array('title' => 'ACP_USERS_PERMISSIONS', 'auth' => 'acl_a_authusers && (acl_a_aauth || acl_a_mauth || acl_a_uauth)'),
|
|
||||||
'setting_user_local' => array('title' => 'ACP_USERS_FORUM_PERMISSIONS', 'auth' => 'acl_a_authusers && (acl_a_mauth || acl_a_fauth)'),
|
|
||||||
'setting_group_global' => array('title' => 'ACP_GROUPS_PERMISSIONS', 'auth' => 'acl_a_authgroups && (acl_a_aauth || acl_a_mauth || acl_a_uauth)'),
|
|
||||||
'setting_group_local' => array('title' => 'ACP_GROUPS_FORUM_PERMISSIONS', 'auth' => 'acl_a_authgroups && (acl_a_mauth || acl_a_fauth)'),
|
|
||||||
'setting_admin_global' => array('title' => 'ACP_ADMINISTRATORS', 'auth' => 'acl_a_aauth && (acl_a_authusers || acl_a_authgroups)'),
|
|
||||||
'setting_mod_global' => array('title' => 'ACP_GLOBAL_MODERATORS', 'auth' => 'acl_a_mauth && (acl_a_authusers || acl_a_authgroups)'),
|
|
||||||
'setting_mod_local' => array('title' => 'ACP_FORUM_MODERATORS', 'auth' => 'acl_a_mauth && (acl_a_authusers || acl_a_authgroups)'),
|
|
||||||
'setting_forum_local' => array('title' => 'ACP_FORUM_PERMISSIONS', 'auth' => 'acl_a_fauth && (acl_a_authusers || acl_a_authgroups)'),
|
|
||||||
|
|
||||||
'view_admin_global' => array('title' => 'ACP_VIEW_ADMIN_PERMISSIONS', 'auth' => 'acl_a_viewauth'),
|
|
||||||
'view_user_global' => array('title' => 'ACP_VIEW_USER_PERMISSIONS', 'auth' => 'acl_a_viewauth'),
|
|
||||||
'view_mod_global' => array('title' => 'ACP_VIEW_GLOBAL_MOD_PERMISSIONS', 'auth' => 'acl_a_viewauth'),
|
|
||||||
'view_mod_local' => array('title' => 'ACP_VIEW_FORUM_MOD_PERMISSIONS', 'auth' => 'acl_a_viewauth'),
|
|
||||||
'view_forum_local' => array('title' => 'ACP_VIEW_FORUM_PERMISSIONS', 'auth' => 'acl_a_viewauth'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -51,30 +51,4 @@ class acp_php_info
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class acp_php_info_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'acp_php_info',
|
|
||||||
'title' => 'ACP_PHP_INFO',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'info' => array('title' => 'ACP_PHP_INFO', 'auth' => 'acl_a_phpinfo'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -1250,30 +1250,4 @@ class acp_profile
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class acp_profile_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'acp_profile',
|
|
||||||
'title' => 'ACP_CUSTOM_PROFILE_FIELDS',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'profile' => array('title' => 'ACP_CUSTOM_PROFILE_FIELDS', 'auth' => 'acl_a_profile'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -363,31 +363,4 @@ class acp_prune
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class acp_prune_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'acp_prune',
|
|
||||||
'title' => 'ACP_PRUNING',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'forums' => array('title' => 'ACP_PRUNE_FORUMS', 'auth' => 'acl_a_prune'),
|
|
||||||
'users' => array('title' => 'ACP_PRUNE_USERS', 'auth' => 'acl_a_userdel'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -199,30 +199,4 @@ class acp_ranks
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class acp_ranks_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'acp_ranks',
|
|
||||||
'title' => 'ACP_RANKS',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'ranks' => array('title' => 'ACP_MANAGE_RANKS', 'auth' => 'acl_a_ranks'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -311,30 +311,4 @@ class acp_reasons
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class acp_reasons_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'acp_reasons',
|
|
||||||
'title' => 'ACP_REASONS',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'main' => array('title' => 'ACP_MANAGE_REASONS', 'auth' => 'acl_a_reasons'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -494,31 +494,4 @@ class acp_search
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class acp_search_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'acp_search',
|
|
||||||
'title' => 'ACP_SEARCH',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'settings' => array('title' => 'ACP_SEARCH_SETTINGS', 'auth' => 'acl_a_search'),
|
|
||||||
'index' => array('title' => 'ACP_SEARCH_INDEX', 'auth' => 'acl_a_search'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -2040,33 +2040,4 @@ pagination_sep = \'{PAGINATION_SEP}\'
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class acp_styles_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'acp_styles',
|
|
||||||
'title' => 'ACP_CAT_STYLES',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'style' => array('title' => 'ACP_STYLES', 'auth' => 'acl_a_styles'),
|
|
||||||
'template' => array('title' => 'ACP_TEMPLATES', 'auth' => 'acl_a_styles'),
|
|
||||||
'theme' => array('title' => 'ACP_THEMES', 'auth' => 'acl_a_styles'),
|
|
||||||
'imageset' => array('title' => 'ACP_IMAGESETS', 'auth' => 'acl_a_styles'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -108,8 +108,9 @@ class acp_users
|
||||||
// Generate overall "header" for user admin
|
// Generate overall "header" for user admin
|
||||||
$s_form_options = '';
|
$s_form_options = '';
|
||||||
|
|
||||||
$module_info = new acp_users_info();
|
// Include info file...
|
||||||
$forms_ary = $module_info->module();
|
include_once($phpbb_root_path . 'includes/acp/info/acp_users.' . $phpEx);
|
||||||
|
$forms_ary = acp_users_info::module();
|
||||||
|
|
||||||
foreach ($forms_ary['modes'] as $value => $ary)
|
foreach ($forms_ary['modes'] as $value => $ary)
|
||||||
{
|
{
|
||||||
|
@ -1882,39 +1883,4 @@ class acp_users
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class acp_users_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'acp_users',
|
|
||||||
'title' => 'ACP_USER_MANAGEMENT',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'overview' => array('title' => 'ACP_MANAGE_USERS', 'auth' => 'acl_a_user'),
|
|
||||||
'feedback' => array('title' => 'ACP_USER_FEEDBACK', 'auth' => 'acl_a_user', 'display' => false),
|
|
||||||
'profile' => array('title' => 'ACP_USER_PROFILE', 'auth' => 'acl_a_user', 'display' => false),
|
|
||||||
'prefs' => array('title' => 'ACP_USER_PREFS', 'auth' => 'acl_a_user', 'display' => false),
|
|
||||||
'avatar' => array('title' => 'ACP_USER_AVATAR', 'auth' => 'acl_a_user', 'display' => false),
|
|
||||||
'rank' => array('title' => 'ACP_USER_RANK', 'auth' => 'acl_a_user', 'display' => false),
|
|
||||||
'sig' => array('title' => 'ACP_USER_SIG', 'auth' => 'acl_a_user', 'display' => false),
|
|
||||||
'groups' => array('title' => 'ACP_USER_GROUPS', 'auth' => 'acl_a_user && acl_a_group', 'display' => false),
|
|
||||||
'perm' => array('title' => 'ACP_USER_PERM', 'auth' => 'acl_a_user && acl_a_viewauth', 'display' => false),
|
|
||||||
'attach' => array('title' => 'ACP_USER_ATTACH', 'auth' => 'acl_a_user', 'display' => false),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -154,30 +154,4 @@ class acp_words
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class acp_words_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'acp_words',
|
|
||||||
'title' => 'ACP_WORDS',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'words' => array('title' => 'ACP_WORDS', 'auth' => 'acl_a_words'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
40
phpBB/includes/acp/info/acp_attachments.php
Normal file
40
phpBB/includes/acp/info/acp_attachments.php
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package acp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class acp_attachments_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'acp_attachments',
|
||||||
|
'title' => 'ACP_ATTACHMENTS',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'attach' => array('title' => 'ACP_ATTACHMENT_SETTINGS', 'auth' => 'acl_a_attach'),
|
||||||
|
'extensions' => array('title' => 'ACP_MANAGE_EXTENSIONS', 'auth' => 'acl_a_attach'),
|
||||||
|
'ext_groups' => array('title' => 'ACP_EXTENSION_GROUPS', 'auth' => 'acl_a_attach'),
|
||||||
|
'orphan' => array('title' => 'ACP_ORPHAN_ATTACHMENTS', 'auth' => 'acl_a_attach')
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
39
phpBB/includes/acp/info/acp_ban.php
Normal file
39
phpBB/includes/acp/info/acp_ban.php
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package acp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class acp_ban_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'acp_ban',
|
||||||
|
'title' => 'ACP_BAN',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'email' => array('title' => 'ACP_BAN_EMAILS', 'auth' => 'acl_a_ban'),
|
||||||
|
'ip' => array('title' => 'ACP_BAN_IPS', 'auth' => 'acl_a_ban'),
|
||||||
|
'user' => array('title' => 'ACP_BAN_USERNAMES', 'auth' => 'acl_a_ban'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
37
phpBB/includes/acp/info/acp_bbcodes.php
Normal file
37
phpBB/includes/acp/info/acp_bbcodes.php
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package acp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class acp_bbcodes_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'acp_bbcodes',
|
||||||
|
'title' => 'ACP_BBCODES',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'bbcodes' => array('title' => 'ACP_BBCODES', 'auth' => 'acl_a_bbcode'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
45
phpBB/includes/acp/info/acp_board.php
Normal file
45
phpBB/includes/acp/info/acp_board.php
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package acp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class acp_board_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'acp_board',
|
||||||
|
'title' => 'ACP_BOARD_MANAGEMENT',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'auth' => array('title' => 'ACP_AUTH_SETTINGS', 'auth' => 'acl_a_server'),
|
||||||
|
'avatar' => array('title' => 'ACP_AVATAR_SETTINGS', 'auth' => 'acl_a_board'),
|
||||||
|
'default' => array('title' => 'ACP_BOARD_DEFAULTS', 'auth' => 'acl_a_defaults'),
|
||||||
|
'settings' => array('title' => 'ACP_BOARD_SETTINGS', 'auth' => 'acl_a_board'),
|
||||||
|
'cookie' => array('title' => 'ACP_COOKIE_SETTINGS', 'auth' => 'acl_a_cookies'),
|
||||||
|
'email' => array('title' => 'ACP_EMAIL_SETTINGS', 'auth' => 'acl_a_server'),
|
||||||
|
'load' => array('title' => 'ACP_LOAD_SETTINGS', 'auth' => 'acl_a_server'),
|
||||||
|
'server' => array('title' => 'ACP_SERVER_SETTINGS', 'auth' => 'acl_a_server'),
|
||||||
|
'message' => array('title' => 'ACP_MESSAGE_SETTINGS', 'auth' => 'acl_a_defaults'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
38
phpBB/includes/acp/info/acp_bots.php
Normal file
38
phpBB/includes/acp/info/acp_bots.php
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package acp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class acp_bots_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'acp_bots',
|
||||||
|
'title' => 'ACP_BOTS',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'bots' => array('title' => 'ACP_BOTS', 'auth' => 'acl_a_bots'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
?>
|
38
phpBB/includes/acp/info/acp_database.php
Normal file
38
phpBB/includes/acp/info/acp_database.php
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package acp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class acp_database_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'acp_database',
|
||||||
|
'title' => 'ACP_DATABASE',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'backup' => array('title' => 'ACP_BACKUP', 'auth' => 'acl_a_backup'),
|
||||||
|
'restore' => array('title' => 'ACP_RESTORE', 'auth' => 'acl_a_backup'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
38
phpBB/includes/acp/info/acp_disallow.php
Normal file
38
phpBB/includes/acp/info/acp_disallow.php
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package acp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class acp_disallow_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'acp_disallow',
|
||||||
|
'title' => 'ACP_DISALLOW',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'usernames' => array('title' => 'ACP_DISALLOW_USERNAMES', 'auth' => 'acl_a_names'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
?>
|
38
phpBB/includes/acp/info/acp_email.php
Normal file
38
phpBB/includes/acp/info/acp_email.php
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package acp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class acp_email_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'acp_email',
|
||||||
|
'title' => 'ACP_MASS_EMAIL',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'email' => array('title' => 'ACP_MASS_EMAIL', 'auth' => 'acl_a_email'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
?>
|
37
phpBB/includes/acp/info/acp_forums.php
Normal file
37
phpBB/includes/acp/info/acp_forums.php
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package acp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class acp_forums_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'acp_forums',
|
||||||
|
'title' => 'ACP_FORUM_MANAGEMENT',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'manage' => array('title' => 'ACP_MANAGE_FORUMS', 'auth' => 'acl_a_forum'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
37
phpBB/includes/acp/info/acp_groups.php
Normal file
37
phpBB/includes/acp/info/acp_groups.php
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package acp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class acp_groups_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'acp_groups',
|
||||||
|
'title' => 'ACP_GROUPS_MANAGEMENT',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'manage' => array('title' => 'ACP_GROUPS_MANAGE', 'auth' => 'acl_a_group'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
38
phpBB/includes/acp/info/acp_icons.php
Normal file
38
phpBB/includes/acp/info/acp_icons.php
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package acp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class acp_icons_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'acp_icons',
|
||||||
|
'title' => 'ACP_ICONS_SMILIES',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'icons' => array('title' => 'ACP_ICONS', 'auth' => 'acl_a_icons'),
|
||||||
|
'smilies' => array('title' => 'ACP_SMILIES', 'auth' => 'acl_a_icons'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
36
phpBB/includes/acp/info/acp_jabber.php
Normal file
36
phpBB/includes/acp/info/acp_jabber.php
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package acp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class acp_jabber_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'acp_jabber',
|
||||||
|
'title' => 'ACP_JABBER_SETTINGS',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'settings' => array('title' => 'ACP_JABBER_SETTINGS', 'auth' => 'acl_a_jabber'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
37
phpBB/includes/acp/info/acp_language.php
Normal file
37
phpBB/includes/acp/info/acp_language.php
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package acp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class acp_language_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'acp_language',
|
||||||
|
'title' => 'ACP_LANGUAGE',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'lang_packs' => array('title' => 'ACP_LANGUAGE_PACKS', 'auth' => 'acl_a_language'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
39
phpBB/includes/acp/info/acp_logs.php
Normal file
39
phpBB/includes/acp/info/acp_logs.php
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package acp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class acp_logs_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'acp_logs',
|
||||||
|
'title' => 'ACP_LOGGING',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'admin' => array('title' => 'ACP_ADMIN_LOGS', 'auth' => 'acl_a_viewlogs'),
|
||||||
|
'mod' => array('title' => 'ACP_MOD_LOGS', 'auth' => 'acl_a_viewlogs'),
|
||||||
|
'critical' => array('title' => 'ACP_CRITICAL_LOGS', 'auth' => 'acl_a_viewlogs'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
37
phpBB/includes/acp/info/acp_main.php
Normal file
37
phpBB/includes/acp/info/acp_main.php
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package acp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class acp_main_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'acp_main',
|
||||||
|
'title' => 'ACP_INDEX',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'main' => array('title' => 'ACP_INDEX', 'auth' => ''),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
39
phpBB/includes/acp/info/acp_modules.php
Normal file
39
phpBB/includes/acp/info/acp_modules.php
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package acp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class acp_modules_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'acp_modules',
|
||||||
|
'title' => 'ACP_MODULE_MANAGEMENT',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'acp' => array('title' => 'ACP', 'auth' => 'acl_a_modules'),
|
||||||
|
'ucp' => array('title' => 'UCP', 'auth' => 'acl_a_modules'),
|
||||||
|
'mcp' => array('title' => 'MCP', 'auth' => 'acl_a_modules'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
40
phpBB/includes/acp/info/acp_permission_roles.php
Normal file
40
phpBB/includes/acp/info/acp_permission_roles.php
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package acp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class acp_permission_roles_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'acp_permission_roles',
|
||||||
|
'title' => 'ACP_PERMISSION_ROLES',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'admin_roles' => array('title' => 'ACP_ADMIN_ROLES', 'auth' => 'acl_a_roles'),
|
||||||
|
'user_roles' => array('title' => 'ACP_USER_ROLES', 'auth' => 'acl_a_roles'),
|
||||||
|
'mod_roles' => array('title' => 'ACP_MOD_ROLES', 'auth' => 'acl_a_roles'),
|
||||||
|
'forum_roles' => array('title' => 'ACP_FORUM_ROLES', 'auth' => 'acl_a_roles'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
52
phpBB/includes/acp/info/acp_permissions.php
Normal file
52
phpBB/includes/acp/info/acp_permissions.php
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package acp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class acp_permissions_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'acp_permissions',
|
||||||
|
'title' => 'ACP_PERMISSIONS',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'intro' => array('title' => 'ACP_PERMISSIONS', 'auth' => 'acl_a_authusers || acl_a_authgroups || acl_a_viewauth'),
|
||||||
|
|
||||||
|
'setting_user_global' => array('title' => 'ACP_USERS_PERMISSIONS', 'auth' => 'acl_a_authusers && (acl_a_aauth || acl_a_mauth || acl_a_uauth)'),
|
||||||
|
'setting_user_local' => array('title' => 'ACP_USERS_FORUM_PERMISSIONS', 'auth' => 'acl_a_authusers && (acl_a_mauth || acl_a_fauth)'),
|
||||||
|
'setting_group_global' => array('title' => 'ACP_GROUPS_PERMISSIONS', 'auth' => 'acl_a_authgroups && (acl_a_aauth || acl_a_mauth || acl_a_uauth)'),
|
||||||
|
'setting_group_local' => array('title' => 'ACP_GROUPS_FORUM_PERMISSIONS', 'auth' => 'acl_a_authgroups && (acl_a_mauth || acl_a_fauth)'),
|
||||||
|
'setting_admin_global' => array('title' => 'ACP_ADMINISTRATORS', 'auth' => 'acl_a_aauth && (acl_a_authusers || acl_a_authgroups)'),
|
||||||
|
'setting_mod_global' => array('title' => 'ACP_GLOBAL_MODERATORS', 'auth' => 'acl_a_mauth && (acl_a_authusers || acl_a_authgroups)'),
|
||||||
|
'setting_mod_local' => array('title' => 'ACP_FORUM_MODERATORS', 'auth' => 'acl_a_mauth && (acl_a_authusers || acl_a_authgroups)'),
|
||||||
|
'setting_forum_local' => array('title' => 'ACP_FORUM_PERMISSIONS', 'auth' => 'acl_a_fauth && (acl_a_authusers || acl_a_authgroups)'),
|
||||||
|
|
||||||
|
'view_admin_global' => array('title' => 'ACP_VIEW_ADMIN_PERMISSIONS', 'auth' => 'acl_a_viewauth'),
|
||||||
|
'view_user_global' => array('title' => 'ACP_VIEW_USER_PERMISSIONS', 'auth' => 'acl_a_viewauth'),
|
||||||
|
'view_mod_global' => array('title' => 'ACP_VIEW_GLOBAL_MOD_PERMISSIONS', 'auth' => 'acl_a_viewauth'),
|
||||||
|
'view_mod_local' => array('title' => 'ACP_VIEW_FORUM_MOD_PERMISSIONS', 'auth' => 'acl_a_viewauth'),
|
||||||
|
'view_forum_local' => array('title' => 'ACP_VIEW_FORUM_PERMISSIONS', 'auth' => 'acl_a_viewauth'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
37
phpBB/includes/acp/info/acp_php_info.php
Normal file
37
phpBB/includes/acp/info/acp_php_info.php
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package acp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class acp_php_info_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'acp_php_info',
|
||||||
|
'title' => 'ACP_PHP_INFO',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'info' => array('title' => 'ACP_PHP_INFO', 'auth' => 'acl_a_phpinfo'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
37
phpBB/includes/acp/info/acp_profile.php
Normal file
37
phpBB/includes/acp/info/acp_profile.php
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package acp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class acp_profile_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'acp_profile',
|
||||||
|
'title' => 'ACP_CUSTOM_PROFILE_FIELDS',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'profile' => array('title' => 'ACP_CUSTOM_PROFILE_FIELDS', 'auth' => 'acl_a_profile'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
38
phpBB/includes/acp/info/acp_prune.php
Normal file
38
phpBB/includes/acp/info/acp_prune.php
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package acp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class acp_prune_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'acp_prune',
|
||||||
|
'title' => 'ACP_PRUNING',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'forums' => array('title' => 'ACP_PRUNE_FORUMS', 'auth' => 'acl_a_prune'),
|
||||||
|
'users' => array('title' => 'ACP_PRUNE_USERS', 'auth' => 'acl_a_userdel'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
37
phpBB/includes/acp/info/acp_ranks.php
Normal file
37
phpBB/includes/acp/info/acp_ranks.php
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package acp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class acp_ranks_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'acp_ranks',
|
||||||
|
'title' => 'ACP_RANKS',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'ranks' => array('title' => 'ACP_MANAGE_RANKS', 'auth' => 'acl_a_ranks'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
37
phpBB/includes/acp/info/acp_reasons.php
Normal file
37
phpBB/includes/acp/info/acp_reasons.php
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package acp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class acp_reasons_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'acp_reasons',
|
||||||
|
'title' => 'ACP_REASONS',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'main' => array('title' => 'ACP_MANAGE_REASONS', 'auth' => 'acl_a_reasons'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
38
phpBB/includes/acp/info/acp_search.php
Normal file
38
phpBB/includes/acp/info/acp_search.php
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package acp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class acp_search_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'acp_search',
|
||||||
|
'title' => 'ACP_SEARCH',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'settings' => array('title' => 'ACP_SEARCH_SETTINGS', 'auth' => 'acl_a_search'),
|
||||||
|
'index' => array('title' => 'ACP_SEARCH_INDEX', 'auth' => 'acl_a_search'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
40
phpBB/includes/acp/info/acp_styles.php
Normal file
40
phpBB/includes/acp/info/acp_styles.php
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package acp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class acp_styles_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'acp_styles',
|
||||||
|
'title' => 'ACP_CAT_STYLES',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'style' => array('title' => 'ACP_STYLES', 'auth' => 'acl_a_styles'),
|
||||||
|
'template' => array('title' => 'ACP_TEMPLATES', 'auth' => 'acl_a_styles'),
|
||||||
|
'theme' => array('title' => 'ACP_THEMES', 'auth' => 'acl_a_styles'),
|
||||||
|
'imageset' => array('title' => 'ACP_IMAGESETS', 'auth' => 'acl_a_styles'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
46
phpBB/includes/acp/info/acp_users.php
Normal file
46
phpBB/includes/acp/info/acp_users.php
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package acp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class acp_users_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'acp_users',
|
||||||
|
'title' => 'ACP_USER_MANAGEMENT',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'overview' => array('title' => 'ACP_MANAGE_USERS', 'auth' => 'acl_a_user'),
|
||||||
|
'feedback' => array('title' => 'ACP_USER_FEEDBACK', 'auth' => 'acl_a_user', 'display' => false),
|
||||||
|
'profile' => array('title' => 'ACP_USER_PROFILE', 'auth' => 'acl_a_user', 'display' => false),
|
||||||
|
'prefs' => array('title' => 'ACP_USER_PREFS', 'auth' => 'acl_a_user', 'display' => false),
|
||||||
|
'avatar' => array('title' => 'ACP_USER_AVATAR', 'auth' => 'acl_a_user', 'display' => false),
|
||||||
|
'rank' => array('title' => 'ACP_USER_RANK', 'auth' => 'acl_a_user', 'display' => false),
|
||||||
|
'sig' => array('title' => 'ACP_USER_SIG', 'auth' => 'acl_a_user', 'display' => false),
|
||||||
|
'groups' => array('title' => 'ACP_USER_GROUPS', 'auth' => 'acl_a_user && acl_a_group', 'display' => false),
|
||||||
|
'perm' => array('title' => 'ACP_USER_PERM', 'auth' => 'acl_a_user && acl_a_viewauth', 'display' => false),
|
||||||
|
'attach' => array('title' => 'ACP_USER_ATTACH', 'auth' => 'acl_a_user', 'display' => false),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
37
phpBB/includes/acp/info/acp_words.php
Normal file
37
phpBB/includes/acp/info/acp_words.php
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package acp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class acp_words_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'acp_words',
|
||||||
|
'title' => 'ACP_WORDS',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'words' => array('title' => 'ACP_WORDS', 'auth' => 'acl_a_words'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
39
phpBB/includes/mcp/info/mcp_ban.php
Normal file
39
phpBB/includes/mcp/info/mcp_ban.php
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package mcp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class mcp_ban_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'mcp_ban',
|
||||||
|
'title' => 'MCP_BAN',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'email' => array('title' => 'MCP_BAN_EMAILS', 'auth' => 'acl_m_ban'),
|
||||||
|
'ip' => array('title' => 'MCP_BAN_IPS', 'auth' => 'acl_m_ban'),
|
||||||
|
'user' => array('title' => 'MCP_BAN_USERNAMES', 'auth' => 'acl_m_ban'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
39
phpBB/includes/mcp/info/mcp_logs.php
Normal file
39
phpBB/includes/mcp/info/mcp_logs.php
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package mcp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class mcp_logs_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'mcp_logs',
|
||||||
|
'title' => 'MCP_LOGS',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'front' => array('title' => 'MCP_LOGS_FRONT', 'auth' => ''),
|
||||||
|
'forum_logs' => array('title' => 'MCP_LOGS_FORUM_VIEW', 'auth' => 'acl_m_,$id'),
|
||||||
|
'topic_logs' => array('title' => 'MCP_LOGS_TOPIC_VIEW', 'auth' => 'acl_m_,$id'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
40
phpBB/includes/mcp/info/mcp_main.php
Normal file
40
phpBB/includes/mcp/info/mcp_main.php
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package mcp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class mcp_main_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'mcp_main',
|
||||||
|
'title' => 'MCP_MAIN',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'forum_view' => array('title' => 'MCP_MAIN_FORUM_VIEW', 'auth' => 'acl_m_,$id'),
|
||||||
|
'front' => array('title' => 'MCP_MAIN_FRONT', 'auth' => 'acl_m_'),
|
||||||
|
'post_details' => array('title' => 'MCP_MAIN_POST_DETAILS', 'auth' => 'acl_m_,$id'),
|
||||||
|
'topic_view' => array('title' => 'MCP_MAIN_TOPIC_VIEW', 'auth' => 'acl_m_,$id'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
38
phpBB/includes/mcp/info/mcp_notes.php
Normal file
38
phpBB/includes/mcp/info/mcp_notes.php
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package mcp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class mcp_notes_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'mcp_notes',
|
||||||
|
'title' => 'MCP_NOTES',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'front' => array('title' => 'MCP_NOTES_FRONT', 'auth' => ''),
|
||||||
|
'user_notes' => array('title' => 'MCP_NOTES_USER', 'auth' => ''),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
39
phpBB/includes/mcp/info/mcp_queue.php
Normal file
39
phpBB/includes/mcp/info/mcp_queue.php
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package mcp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class mcp_queue_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'mcp_queue',
|
||||||
|
'title' => 'MCP_QUEUE',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'approve_details' => array('title' => 'MCP_QUEUE_APPROVE_DETAILS', 'auth' => 'acl_m_approve || aclf_m_approve'),
|
||||||
|
'unapproved_topics' => array('title' => 'MCP_QUEUE_UNAPPROVED_TOPICS', 'auth' => 'acl_m_approve || aclf_m_approve'),
|
||||||
|
'unapproved_posts' => array('title' => 'MCP_QUEUE_UNAPPROVED_POSTS', 'auth' => 'acl_m_approve || aclf_m_approve'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
39
phpBB/includes/mcp/info/mcp_reports.php
Normal file
39
phpBB/includes/mcp/info/mcp_reports.php
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package mcp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class mcp_reports_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'mcp_reports',
|
||||||
|
'title' => 'MCP_REPORTS',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'report_details' => array('title' => 'MCP_REPORT_DETAILS', 'auth' => 'acl_m_report || aclf_m_report'),
|
||||||
|
'reports' => array('title' => 'MCP_REPORTS', 'auth' => 'acl_m_report ||aclf_m_report'),
|
||||||
|
'reports_closed' => array('title' => 'MCP_REPORTS_CLOSED', 'auth' => 'acl_m_report || aclf_m_report'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
40
phpBB/includes/mcp/info/mcp_warn.php
Normal file
40
phpBB/includes/mcp/info/mcp_warn.php
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package mcp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class mcp_warn_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'mcp_warn',
|
||||||
|
'title' => 'MCP_WARN',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'front' => array('title' => 'MCP_WARN_FRONT', 'auth' => ''),
|
||||||
|
'list' => array('title' => 'MCP_WARN_LIST', 'auth' => ''),
|
||||||
|
'warn_user' => array('title' => 'MCP_WARN_USER', 'auth' => ''),
|
||||||
|
'warn_post' => array('title' => 'MCP_WARN_POST', 'auth' => 'acl_m_,$id'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
|
@ -109,32 +109,4 @@ class mcp_ban
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class mcp_ban_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'mcp_ban',
|
|
||||||
'title' => 'MCP_BAN',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'email' => array('title' => 'MCP_BAN_EMAILS', 'auth' => 'acl_m_ban'),
|
|
||||||
'ip' => array('title' => 'MCP_BAN_IPS', 'auth' => 'acl_m_ban'),
|
|
||||||
'user' => array('title' => 'MCP_BAN_USERNAMES', 'auth' => 'acl_m_ban'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -151,37 +151,4 @@ class mcp_logs
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class mcp_logs_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'mcp_logs',
|
|
||||||
'title' => 'MCP_LOGS',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'front' => array('title' => 'MCP_LOGS_FRONT', 'auth' => ''),
|
|
||||||
'forum_logs' => array('title' => 'MCP_LOGS_FORUM_VIEW', 'auth' => 'acl_m_,$id'),
|
|
||||||
'topic_logs' => array('title' => 'MCP_LOGS_TOPIC_VIEW', 'auth' => 'acl_m_,$id'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//
|
|
||||||
// Functions
|
|
||||||
//
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -951,33 +951,4 @@ 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(
|
|
||||||
'forum_view' => array('title' => 'MCP_MAIN_FORUM_VIEW', 'auth' => 'acl_m_,$id'),
|
|
||||||
'front' => array('title' => 'MCP_MAIN_FRONT', 'auth' => 'acl_m_'),
|
|
||||||
'post_details' => array('title' => 'MCP_MAIN_POST_DETAILS', 'auth' => 'acl_m_,$id'),
|
|
||||||
'topic_view' => array('title' => 'MCP_MAIN_TOPIC_VIEW', 'auth' => 'acl_m_,$id'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -54,33 +54,6 @@ class mcp_notes
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class mcp_notes_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'mcp_notes',
|
|
||||||
'title' => 'MCP_NOTES',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'front' => array('title' => 'MCP_NOTES_FRONT', 'auth' => ''),
|
|
||||||
'user_notes' => array('title' => 'MCP_NOTES_USER', 'auth' => ''),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Functions
|
// Functions
|
||||||
//
|
//
|
||||||
|
|
|
@ -721,32 +721,4 @@ function disapprove_post($post_id_list, $mode)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class mcp_queue_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'mcp_queue',
|
|
||||||
'title' => 'MCP_QUEUE',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'approve_details' => array('title' => 'MCP_QUEUE_APPROVE_DETAILS', 'auth' => 'acl_m_approve || aclf_m_approve'),
|
|
||||||
'unapproved_topics' => array('title' => 'MCP_QUEUE_UNAPPROVED_TOPICS', 'auth' => 'acl_m_approve || aclf_m_approve'),
|
|
||||||
'unapproved_posts' => array('title' => 'MCP_QUEUE_UNAPPROVED_POSTS', 'auth' => 'acl_m_approve || aclf_m_approve'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -492,32 +492,4 @@ function close_report($post_id_list, $mode, $action)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class mcp_reports_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'mcp_reports',
|
|
||||||
'title' => 'MCP_REPORTS',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'report_details' => array('title' => 'MCP_REPORT_DETAILS', 'auth' => 'acl_m_report || aclf_m_report'),
|
|
||||||
'reports' => array('title' => 'MCP_REPORTS', 'auth' => 'acl_m_report ||aclf_m_report'),
|
|
||||||
'reports_closed' => array('title' => 'MCP_REPORTS_CLOSED', 'auth' => 'acl_m_report || aclf_m_report'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -57,36 +57,6 @@ class mcp_warn
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class mcp_warn_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'mcp_warn',
|
|
||||||
'title' => 'MCP_WARN',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'front' => array('title' => 'MCP_WARN_FRONT', 'auth' => ''),
|
|
||||||
'list' => array('title' => 'MCP_WARN_LIST', 'auth' => ''),
|
|
||||||
'warn_user' => array('title' => 'MCP_WARN_USER', 'auth' => ''),
|
|
||||||
'warn_post' => array('title' => 'MCP_WARN_POST', 'auth' => 'acl_m_,$id'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Functions
|
// Functions
|
||||||
//
|
//
|
||||||
|
|
37
phpBB/includes/ucp/info/ucp_attachments.php
Normal file
37
phpBB/includes/ucp/info/ucp_attachments.php
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package ucp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class ucp_attachments_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'ucp_attachments',
|
||||||
|
'title' => 'UCP_ATTACHMENTS',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'attachments' => array('title' => 'UCP_ATTACHMENTS', 'auth' => 'acl_u_attach'),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
38
phpBB/includes/ucp/info/ucp_groups.php
Normal file
38
phpBB/includes/ucp/info/ucp_groups.php
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package ucp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class ucp_groups_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'ucp_groups',
|
||||||
|
'title' => 'UCP_USERGROUPS',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'membership' => array('title' => 'UCP_USERGROUPS_MEMBER', 'auth' => ''),
|
||||||
|
'manage' => array('title' => 'UCP_USERGROUPS_MANAGE', 'auth' => ''),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
40
phpBB/includes/ucp/info/ucp_main.php
Normal file
40
phpBB/includes/ucp/info/ucp_main.php
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package ucp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class ucp_main_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'ucp_main',
|
||||||
|
'title' => 'UCP_MAIN',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'front' => array('title' => 'UCP_MAIN_FRONT', 'auth' => ''),
|
||||||
|
'subscribed' => array('title' => 'UCP_MAIN_SUBSCRIBED', 'auth' => ''),
|
||||||
|
'bookmarks' => array('title' => 'UCP_MAIN_BOOKMARKS', 'auth' => 'cfg_allow_bookmarks'),
|
||||||
|
'drafts' => array('title' => 'UCP_MAIN_DRAFTS', 'auth' => ''),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
41
phpBB/includes/ucp/info/ucp_pm.php
Normal file
41
phpBB/includes/ucp/info/ucp_pm.php
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ucp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class ucp_pm_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'ucp_pm',
|
||||||
|
'title' => 'UCP_PM',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'view' => array('title' => 'UCP_PM_VIEW', 'auth' => 'cfg_allow_privmsg'),
|
||||||
|
'compose' => array('title' => 'UCP_PM_COMPOSE', 'auth' => 'cfg_allow_privmsg'),
|
||||||
|
'unread' => array('title' => 'UCP_PM_UNREAD', 'auth' => 'cfg_allow_privmsg'),
|
||||||
|
'drafts' => array('title' => 'UCP_PM_DRAFTS', 'auth' => 'cfg_allow_privmsg'),
|
||||||
|
'options' => array('title' => 'UCP_PM_OPTIONS', 'auth' => 'cfg_allow_privmsg'),
|
||||||
|
'popup' => array('title' => 'UCP_PM_POPUP_TITLE', 'auth' => 'cfg_allow_privmsg', 'display' => false),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
39
phpBB/includes/ucp/info/ucp_prefs.php
Normal file
39
phpBB/includes/ucp/info/ucp_prefs.php
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package ucp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class ucp_prefs_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'ucp_prefs',
|
||||||
|
'title' => 'UCP_PREFS',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'personal' => array('title' => 'UCP_PREFS_PERSONAL', 'auth' => ''),
|
||||||
|
'view' => array('title' => 'UCP_PREFS_VIEW', 'auth' => ''),
|
||||||
|
'post' => array('title' => 'UCP_PREFS_POST', 'auth' => ''),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
40
phpBB/includes/ucp/info/ucp_profile.php
Normal file
40
phpBB/includes/ucp/info/ucp_profile.php
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package ucp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class ucp_profile_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'ucp_profile',
|
||||||
|
'title' => 'UCP_PROFILE',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'reg_details' => array('title' => 'UCP_PROFILE_REG_DETAILS', 'auth' => ''),
|
||||||
|
'profile_info' => array('title' => 'UCP_PROFILE_PROFILE_INFO', 'auth' => ''),
|
||||||
|
'signature' => array('title' => 'UCP_PROFILE_SIGNATURE', 'auth' => ''),
|
||||||
|
'avatar' => array('title' => 'UCP_PROFILE_AVATAR', 'auth' => ''),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
38
phpBB/includes/ucp/info/ucp_zebra.php
Normal file
38
phpBB/includes/ucp/info/ucp_zebra.php
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package ucp
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) 2005 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class ucp_zebra_info
|
||||||
|
{
|
||||||
|
function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => 'ucp_zebra',
|
||||||
|
'title' => 'UCP_ZEBRA',
|
||||||
|
'version' => '1.0.0',
|
||||||
|
'modes' => array(
|
||||||
|
'friends' => array('title' => 'UCP_ZEBRA_FRIENDS', 'auth' => ''),
|
||||||
|
'foes' => array('title' => 'UCP_ZEBRA_FOES', 'auth' => ''),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function install()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
|
@ -162,30 +162,4 @@ class ucp_attachments
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class ucp_attachments_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'ucp_attachments',
|
|
||||||
'title' => 'UCP_ATTACHMENTS',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'attachments' => array('title' => 'UCP_ATTACHMENTS', 'auth' => 'acl_u_attach'),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -905,31 +905,4 @@ class ucp_groups
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class ucp_groups_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'ucp_groups',
|
|
||||||
'title' => 'UCP_USERGROUPS',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'membership' => array('title' => 'UCP_USERGROUPS_MEMBER', 'auth' => ''),
|
|
||||||
'manage' => array('title' => 'UCP_USERGROUPS_MANAGE', 'auth' => ''),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -851,33 +851,4 @@ class ucp_main
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class ucp_main_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'ucp_main',
|
|
||||||
'title' => 'UCP_MAIN',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'front' => array('title' => 'UCP_MAIN_FRONT', 'auth' => ''),
|
|
||||||
'subscribed' => array('title' => 'UCP_MAIN_SUBSCRIBED', 'auth' => ''),
|
|
||||||
'bookmarks' => array('title' => 'UCP_MAIN_BOOKMARKS', 'auth' => 'cfg_allow_bookmarks'),
|
|
||||||
'drafts' => array('title' => 'UCP_MAIN_DRAFTS', 'auth' => ''),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -386,35 +386,4 @@ class ucp_pm
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class ucp_pm_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'ucp_pm',
|
|
||||||
'title' => 'UCP_PM',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'view' => array('title' => 'UCP_PM_VIEW', 'auth' => 'cfg_allow_privmsg'),
|
|
||||||
'compose' => array('title' => 'UCP_PM_COMPOSE', 'auth' => 'cfg_allow_privmsg'),
|
|
||||||
'unread' => array('title' => 'UCP_PM_UNREAD', 'auth' => 'cfg_allow_privmsg'),
|
|
||||||
'drafts' => array('title' => 'UCP_PM_DRAFTS', 'auth' => 'cfg_allow_privmsg'),
|
|
||||||
'options' => array('title' => 'UCP_PM_OPTIONS', 'auth' => 'cfg_allow_privmsg'),
|
|
||||||
'popup' => array('title' => 'UCP_PM_POPUP_TITLE', 'auth' => 'cfg_allow_privmsg', 'display' => false),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -426,32 +426,4 @@ class ucp_prefs
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class ucp_prefs_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'ucp_prefs',
|
|
||||||
'title' => 'UCP_PREFS',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'personal' => array('title' => 'UCP_PREFS_PERSONAL', 'auth' => ''),
|
|
||||||
'view' => array('title' => 'UCP_PREFS_VIEW', 'auth' => ''),
|
|
||||||
'post' => array('title' => 'UCP_PREFS_POST', 'auth' => ''),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -643,33 +643,4 @@ class ucp_profile
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class ucp_profile_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'ucp_profile',
|
|
||||||
'title' => 'UCP_PROFILE',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'reg_details' => array('title' => 'UCP_PROFILE_REG_DETAILS', 'auth' => ''),
|
|
||||||
'profile_info' => array('title' => 'UCP_PROFILE_PROFILE_INFO', 'auth' => ''),
|
|
||||||
'signature' => array('title' => 'UCP_PROFILE_SIGNATURE', 'auth' => ''),
|
|
||||||
'avatar' => array('title' => 'UCP_PROFILE_AVATAR', 'auth' => ''),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -229,31 +229,4 @@ class ucp_zebra
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @package module_install
|
|
||||||
*/
|
|
||||||
class ucp_zebra_info
|
|
||||||
{
|
|
||||||
function module()
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'filename' => 'ucp_zebra',
|
|
||||||
'title' => 'UCP_ZEBRA',
|
|
||||||
'version' => '1.0.0',
|
|
||||||
'modes' => array(
|
|
||||||
'friends' => array('title' => 'UCP_ZEBRA_FRIENDS', 'auth' => ''),
|
|
||||||
'foes' => array('title' => 'UCP_ZEBRA_FOES', 'auth' => ''),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
function uninstall()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
Loading…
Add table
Reference in a new issue