aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/acp')
-rw-r--r--phpBB/includes/acp/acp_attachments.php29
-rw-r--r--phpBB/includes/acp/acp_ban.php28
-rw-r--r--phpBB/includes/acp/acp_bbcodes.php26
-rw-r--r--phpBB/includes/acp/acp_board.php34
-rw-r--r--phpBB/includes/acp/acp_bots.php27
-rw-r--r--phpBB/includes/acp/acp_database.php27
-rw-r--r--phpBB/includes/acp/acp_disallow.php27
-rw-r--r--phpBB/includes/acp/acp_email.php27
-rw-r--r--phpBB/includes/acp/acp_forums.php27
-rw-r--r--phpBB/includes/acp/acp_groups.php26
-rw-r--r--phpBB/includes/acp/acp_icons.php27
-rw-r--r--phpBB/includes/acp/acp_jabber.php25
-rw-r--r--phpBB/includes/acp/acp_language.php26
-rw-r--r--phpBB/includes/acp/acp_logs.php28
-rw-r--r--phpBB/includes/acp/acp_main.php26
-rw-r--r--phpBB/includes/acp/acp_modules.php32
-rw-r--r--phpBB/includes/acp/acp_permission_roles.php29
-rw-r--r--phpBB/includes/acp/acp_permissions.php41
-rw-r--r--phpBB/includes/acp/acp_php_info.php26
-rw-r--r--phpBB/includes/acp/acp_profile.php26
-rw-r--r--phpBB/includes/acp/acp_prune.php27
-rw-r--r--phpBB/includes/acp/acp_ranks.php26
-rw-r--r--phpBB/includes/acp/acp_reasons.php26
-rw-r--r--phpBB/includes/acp/acp_search.php27
-rw-r--r--phpBB/includes/acp/acp_styles.php29
-rw-r--r--phpBB/includes/acp/acp_users.php40
-rw-r--r--phpBB/includes/acp/acp_words.php26
-rw-r--r--phpBB/includes/acp/info/acp_attachments.php40
-rw-r--r--phpBB/includes/acp/info/acp_ban.php39
-rw-r--r--phpBB/includes/acp/info/acp_bbcodes.php37
-rw-r--r--phpBB/includes/acp/info/acp_board.php45
-rw-r--r--phpBB/includes/acp/info/acp_bots.php38
-rw-r--r--phpBB/includes/acp/info/acp_database.php38
-rw-r--r--phpBB/includes/acp/info/acp_disallow.php38
-rw-r--r--phpBB/includes/acp/info/acp_email.php38
-rw-r--r--phpBB/includes/acp/info/acp_forums.php37
-rw-r--r--phpBB/includes/acp/info/acp_groups.php37
-rw-r--r--phpBB/includes/acp/info/acp_icons.php38
-rw-r--r--phpBB/includes/acp/info/acp_jabber.php36
-rw-r--r--phpBB/includes/acp/info/acp_language.php37
-rw-r--r--phpBB/includes/acp/info/acp_logs.php39
-rw-r--r--phpBB/includes/acp/info/acp_main.php37
-rw-r--r--phpBB/includes/acp/info/acp_modules.php39
-rw-r--r--phpBB/includes/acp/info/acp_permission_roles.php40
-rw-r--r--phpBB/includes/acp/info/acp_permissions.php52
-rw-r--r--phpBB/includes/acp/info/acp_php_info.php37
-rw-r--r--phpBB/includes/acp/info/acp_profile.php37
-rw-r--r--phpBB/includes/acp/info/acp_prune.php38
-rw-r--r--phpBB/includes/acp/info/acp_ranks.php37
-rw-r--r--phpBB/includes/acp/info/acp_reasons.php37
-rw-r--r--phpBB/includes/acp/info/acp_search.php38
-rw-r--r--phpBB/includes/acp/info/acp_styles.php40
-rw-r--r--phpBB/includes/acp/info/acp_users.php46
-rw-r--r--phpBB/includes/acp/info/acp_words.php37
54 files changed, 1056 insertions, 761 deletions
diff --git a/phpBB/includes/acp/acp_attachments.php b/phpBB/includes/acp/acp_attachments.php
index e316a0f926..6dc7e5cfe1 100644
--- a/phpBB/includes/acp/acp_attachments.php
+++ b/phpBB/includes/acp/acp_attachments.php
@@ -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()
- {
- }
-}
-
?> \ No newline at end of file
diff --git a/phpBB/includes/acp/acp_ban.php b/phpBB/includes/acp/acp_ban.php
index 6b4f2f843b..f43732e603 100644
--- a/phpBB/includes/acp/acp_ban.php
+++ b/phpBB/includes/acp/acp_ban.php
@@ -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()
- {
- }
-}
-
?> \ No newline at end of file
diff --git a/phpBB/includes/acp/acp_bbcodes.php b/phpBB/includes/acp/acp_bbcodes.php
index a63eb58c2c..ab684dd447 100644
--- a/phpBB/includes/acp/acp_bbcodes.php
+++ b/phpBB/includes/acp/acp_bbcodes.php
@@ -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()
- {
- }
-}
-
?> \ No newline at end of file
diff --git a/phpBB/includes/acp/acp_board.php b/phpBB/includes/acp/acp_board.php
index 75c70a0161..1f36d7fda9 100644
--- a/phpBB/includes/acp/acp_board.php
+++ b/phpBB/includes/acp/acp_board.php
@@ -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()
- {
- }
-}
-
?> \ No newline at end of file
diff --git a/phpBB/includes/acp/acp_bots.php b/phpBB/includes/acp/acp_bots.php
index d8435cbd60..720430481b 100644
--- a/phpBB/includes/acp/acp_bots.php
+++ b/phpBB/includes/acp/acp_bots.php
@@ -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()
- {
- }
-}
-
-
?> \ No newline at end of file
diff --git a/phpBB/includes/acp/acp_database.php b/phpBB/includes/acp/acp_database.php
index 52da90ef4b..05208c9235 100644
--- a/phpBB/includes/acp/acp_database.php
+++ b/phpBB/includes/acp/acp_database.php
@@ -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()
- {
- }
-}
-
?> \ No newline at end of file
diff --git a/phpBB/includes/acp/acp_disallow.php b/phpBB/includes/acp/acp_disallow.php
index 0a447a81de..53fde19048 100644
--- a/phpBB/includes/acp/acp_disallow.php
+++ b/phpBB/includes/acp/acp_disallow.php
@@ -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()
- {
- }
-}
-
-
?> \ No newline at end of file
diff --git a/phpBB/includes/acp/acp_email.php b/phpBB/includes/acp/acp_email.php
index bedab7ea20..395e3ca9ee 100644
--- a/phpBB/includes/acp/acp_email.php
+++ b/phpBB/includes/acp/acp_email.php
@@ -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()
- {
- }
-}
-
-
?> \ No newline at end of file
diff --git a/phpBB/includes/acp/acp_forums.php b/phpBB/includes/acp/acp_forums.php
index a7a5fd05da..cc9df44f62 100644
--- a/phpBB/includes/acp/acp_forums.php
+++ b/phpBB/includes/acp/acp_forums.php
@@ -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()
- {
- }
-}
-
?> \ No newline at end of file
diff --git a/phpBB/includes/acp/acp_groups.php b/phpBB/includes/acp/acp_groups.php
index fb84efc92a..1fef6a4ce5 100644
--- a/phpBB/includes/acp/acp_groups.php
+++ b/phpBB/includes/acp/acp_groups.php
@@ -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()
- {
- }
-}
-
?> \ No newline at end of file
diff --git a/phpBB/includes/acp/acp_icons.php b/phpBB/includes/acp/acp_icons.php
index f269c0027d..247a97e558 100644
--- a/phpBB/includes/acp/acp_icons.php
+++ b/phpBB/includes/acp/acp_icons.php
@@ -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()
- {
- }
-}
-
?> \ No newline at end of file
diff --git a/phpBB/includes/acp/acp_jabber.php b/phpBB/includes/acp/acp_jabber.php
index bfdcc40b4b..8c62194f8f 100644
--- a/phpBB/includes/acp/acp_jabber.php
+++ b/phpBB/includes/acp/acp_jabber.php
@@ -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()
- {
- }
-}
?> \ No newline at end of file
diff --git a/phpBB/includes/acp/acp_language.php b/phpBB/includes/acp/acp_language.php
index dd769319f6..83abcacc67 100644
--- a/phpBB/includes/acp/acp_language.php
+++ b/phpBB/includes/acp/acp_language.php
@@ -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()
- {
- }
-}
-
?> \ No newline at end of file
diff --git a/phpBB/includes/acp/acp_logs.php b/phpBB/includes/acp/acp_logs.php
index 9a9324227e..241f266541 100644
--- a/phpBB/includes/acp/acp_logs.php
+++ b/phpBB/includes/acp/acp_logs.php
@@ -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()
- {
- }
-}
-
?> \ No newline at end of file
diff --git a/phpBB/includes/acp/acp_main.php b/phpBB/includes/acp/acp_main.php
index a753e124f1..0f5da1cb27 100644
--- a/phpBB/includes/acp/acp_main.php
+++ b/phpBB/includes/acp/acp_main.php
@@ -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()
- {
- }
-}
-
?> \ No newline at end of file
diff --git a/phpBB/includes/acp/acp_modules.php b/phpBB/includes/acp/acp_modules.php
index 8065080e30..8cd9d871a2 100644
--- a/phpBB/includes/acp/acp_modules.php
+++ b/phpBB/includes/acp/acp_modules.php
@@ -568,7 +568,7 @@ class acp_modules
{
global $phpbb_root_path, $phpEx;
- $directory = $phpbb_root_path . 'includes/' . $this->module_class . '/';
+ $directory = $phpbb_root_path . 'includes/' . $this->module_class . '/info/';
$fileinfo = array();
@@ -582,7 +582,6 @@ class acp_modules
{
$class = str_replace(".$phpEx", '', $file) . '_info';
- // Do not include current working file ;)
if (!class_exists($class))
{
include($directory . $file);
@@ -606,7 +605,6 @@ class acp_modules
$filename = $this->module_class . '_' . basename($module);
$class = $this->module_class . '_' . basename($module) . '_info';
- // Do not include current working file ;)
if (!class_exists($class))
{
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()
- {
- }
-}
-
?> \ No newline at end of file
diff --git a/phpBB/includes/acp/acp_permission_roles.php b/phpBB/includes/acp/acp_permission_roles.php
index a43f87891b..9346d0ae3f 100644
--- a/phpBB/includes/acp/acp_permission_roles.php
+++ b/phpBB/includes/acp/acp_permission_roles.php
@@ -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()
- {
- }
-}
-
?> \ No newline at end of file
diff --git a/phpBB/includes/acp/acp_permissions.php b/phpBB/includes/acp/acp_permissions.php
index 499e210784..434ccb5b82 100644
--- a/phpBB/includes/acp/acp_permissions.php
+++ b/phpBB/includes/acp/acp_permissions.php
@@ -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()
- {
- }
-}
-
?> \ No newline at end of file
diff --git a/phpBB/includes/acp/acp_php_info.php b/phpBB/includes/acp/acp_php_info.php
index ff52b554f3..55f1227c1d 100644
--- a/phpBB/includes/acp/acp_php_info.php
+++ b/phpBB/includes/acp/acp_php_info.php
@@ -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()
- {
- }
-}
-
?> \ No newline at end of file
diff --git a/phpBB/includes/acp/acp_profile.php b/phpBB/includes/acp/acp_profile.php
index 1dcabfc1f1..3a14640854 100644
--- a/phpBB/includes/acp/acp_profile.php
+++ b/phpBB/includes/acp/acp_profile.php
@@ -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()
- {
- }
-}
-
?> \ No newline at end of file
diff --git a/phpBB/includes/acp/acp_prune.php b/phpBB/includes/acp/acp_prune.php
index 5ffe45dc83..f263f7480f 100644
--- a/phpBB/includes/acp/acp_prune.php
+++ b/phpBB/includes/acp/acp_prune.php
@@ -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()
- {
- }
-}
-
?> \ No newline at end of file
diff --git a/phpBB/includes/acp/acp_ranks.php b/phpBB/includes/acp/acp_ranks.php
index 3e36f10af1..1b9ade9f55 100644
--- a/phpBB/includes/acp/acp_ranks.php
+++ b/phpBB/includes/acp/acp_ranks.php
@@ -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()
- {
- }
-}
-
?> \ No newline at end of file
diff --git a/phpBB/includes/acp/acp_reasons.php b/phpBB/includes/acp/acp_reasons.php
index 890350f26b..631c9d992d 100644
--- a/phpBB/includes/acp/acp_reasons.php
+++ b/phpBB/includes/acp/acp_reasons.php
@@ -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()
- {
- }
-}
-
?> \ No newline at end of file
diff --git a/phpBB/includes/acp/acp_search.php b/phpBB/includes/acp/acp_search.php
index 3b40d0d61c..58bcd66ec0 100644
--- a/phpBB/includes/acp/acp_search.php
+++ b/phpBB/includes/acp/acp_search.php
@@ -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()
- {
- }
-}
-
?> \ No newline at end of file
diff --git a/phpBB/includes/acp/acp_styles.php b/phpBB/includes/acp/acp_styles.php
index d7fe6b4ff7..20dbabef0d 100644
--- a/phpBB/includes/acp/acp_styles.php
+++ b/phpBB/includes/acp/acp_styles.php
@@ -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()
- {
- }
-}
-
?> \ No newline at end of file
diff --git a/phpBB/includes/acp/acp_users.php b/phpBB/includes/acp/acp_users.php
index 1dfbb4f516..9523c0952c 100644
--- a/phpBB/includes/acp/acp_users.php
+++ b/phpBB/includes/acp/acp_users.php
@@ -108,8 +108,9 @@ class acp_users
// Generate overall "header" for user admin
$s_form_options = '';
- $module_info = new acp_users_info();
- $forms_ary = $module_info->module();
+ // Include info file...
+ include_once($phpbb_root_path . 'includes/acp/info/acp_users.' . $phpEx);
+ $forms_ary = acp_users_info::module();
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()
- {
- }
-}
-
?> \ No newline at end of file
diff --git a/phpBB/includes/acp/acp_words.php b/phpBB/includes/acp/acp_words.php
index bea148b057..fce4757a3c 100644
--- a/phpBB/includes/acp/acp_words.php
+++ b/phpBB/includes/acp/acp_words.php
@@ -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()
- {
- }
-}
-
?> \ No newline at end of file
diff --git a/phpBB/includes/acp/info/acp_attachments.php b/phpBB/includes/acp/info/acp_attachments.php
new file mode 100644
index 0000000000..e73218ed7b
--- /dev/null
+++ b/phpBB/includes/acp/info/acp_attachments.php
@@ -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()
+ {
+ }
+}
+
+?> \ No newline at end of file
diff --git a/phpBB/includes/acp/info/acp_ban.php b/phpBB/includes/acp/info/acp_ban.php
new file mode 100644
index 0000000000..973441877a
--- /dev/null
+++ b/phpBB/includes/acp/info/acp_ban.php
@@ -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()
+ {
+ }
+}
+
+?> \ No newline at end of file
diff --git a/phpBB/includes/acp/info/acp_bbcodes.php b/phpBB/includes/acp/info/acp_bbcodes.php
new file mode 100644
index 0000000000..b9d78b14df
--- /dev/null
+++ b/phpBB/includes/acp/info/acp_bbcodes.php
@@ -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()
+ {
+ }
+}
+
+?> \ No newline at end of file
diff --git a/phpBB/includes/acp/info/acp_board.php b/phpBB/includes/acp/info/acp_board.php
new file mode 100644
index 0000000000..2695fc0d16
--- /dev/null
+++ b/phpBB/includes/acp/info/acp_board.php
@@ -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()
+ {
+ }
+}
+
+?> \ No newline at end of file
diff --git a/phpBB/includes/acp/info/acp_bots.php b/phpBB/includes/acp/info/acp_bots.php
new file mode 100644
index 0000000000..44d5379158
--- /dev/null
+++ b/phpBB/includes/acp/info/acp_bots.php
@@ -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()
+ {
+ }
+}
+
+
+?> \ No newline at end of file
diff --git a/phpBB/includes/acp/info/acp_database.php b/phpBB/includes/acp/info/acp_database.php
new file mode 100644
index 0000000000..1443a2dab3
--- /dev/null
+++ b/phpBB/includes/acp/info/acp_database.php
@@ -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()
+ {
+ }
+}
+
+?> \ No newline at end of file
diff --git a/phpBB/includes/acp/info/acp_disallow.php b/phpBB/includes/acp/info/acp_disallow.php
new file mode 100644
index 0000000000..f60edfd3a5
--- /dev/null
+++ b/phpBB/includes/acp/info/acp_disallow.php
@@ -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()
+ {
+ }
+}
+
+
+?> \ No newline at end of file
diff --git a/phpBB/includes/acp/info/acp_email.php b/phpBB/includes/acp/info/acp_email.php
new file mode 100644
index 0000000000..8844de8ecf
--- /dev/null
+++ b/phpBB/includes/acp/info/acp_email.php
@@ -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()
+ {
+ }
+}
+
+
+?> \ No newline at end of file
diff --git a/phpBB/includes/acp/info/acp_forums.php b/phpBB/includes/acp/info/acp_forums.php
new file mode 100644
index 0000000000..bdd16a8aea
--- /dev/null
+++ b/phpBB/includes/acp/info/acp_forums.php
@@ -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()
+ {
+ }
+}
+
+?> \ No newline at end of file
diff --git a/phpBB/includes/acp/info/acp_groups.php b/phpBB/includes/acp/info/acp_groups.php
new file mode 100644
index 0000000000..0805ef8525
--- /dev/null
+++ b/phpBB/includes/acp/info/acp_groups.php
@@ -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()
+ {
+ }
+}
+
+?> \ No newline at end of file
diff --git a/phpBB/includes/acp/info/acp_icons.php b/phpBB/includes/acp/info/acp_icons.php
new file mode 100644
index 0000000000..829c2ba707
--- /dev/null
+++ b/phpBB/includes/acp/info/acp_icons.php
@@ -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()
+ {
+ }
+}
+
+?> \ No newline at end of file
diff --git a/phpBB/includes/acp/info/acp_jabber.php b/phpBB/includes/acp/info/acp_jabber.php
new file mode 100644
index 0000000000..704a22cece
--- /dev/null
+++ b/phpBB/includes/acp/info/acp_jabber.php
@@ -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()
+ {
+ }
+}
+?> \ No newline at end of file
diff --git a/phpBB/includes/acp/info/acp_language.php b/phpBB/includes/acp/info/acp_language.php
new file mode 100644
index 0000000000..ad778398dc
--- /dev/null
+++ b/phpBB/includes/acp/info/acp_language.php
@@ -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()
+ {
+ }
+}
+
+?> \ No newline at end of file
diff --git a/phpBB/includes/acp/info/acp_logs.php b/phpBB/includes/acp/info/acp_logs.php
new file mode 100644
index 0000000000..066da62ab2
--- /dev/null
+++ b/phpBB/includes/acp/info/acp_logs.php
@@ -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()
+ {
+ }
+}
+
+?> \ No newline at end of file
diff --git a/phpBB/includes/acp/info/acp_main.php b/phpBB/includes/acp/info/acp_main.php
new file mode 100644
index 0000000000..742faf8bb4
--- /dev/null
+++ b/phpBB/includes/acp/info/acp_main.php
@@ -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()
+ {
+ }
+}
+
+?> \ No newline at end of file
diff --git a/phpBB/includes/acp/info/acp_modules.php b/phpBB/includes/acp/info/acp_modules.php
new file mode 100644
index 0000000000..fa8877e1b3
--- /dev/null
+++ b/phpBB/includes/acp/info/acp_modules.php
@@ -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()
+ {
+ }
+}
+
+?> \ No newline at end of file
diff --git a/phpBB/includes/acp/info/acp_permission_roles.php b/phpBB/includes/acp/info/acp_permission_roles.php
new file mode 100644
index 0000000000..37305b322d
--- /dev/null
+++ b/phpBB/includes/acp/info/acp_permission_roles.php
@@ -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()
+ {
+ }
+}
+
+?> \ No newline at end of file
diff --git a/phpBB/includes/acp/info/acp_permissions.php b/phpBB/includes/acp/info/acp_permissions.php
new file mode 100644
index 0000000000..17bdef94dc
--- /dev/null
+++ b/phpBB/includes/acp/info/acp_permissions.php
@@ -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()
+ {
+ }
+}
+
+?> \ No newline at end of file
diff --git a/phpBB/includes/acp/info/acp_php_info.php b/phpBB/includes/acp/info/acp_php_info.php
new file mode 100644
index 0000000000..833d49b1ce
--- /dev/null
+++ b/phpBB/includes/acp/info/acp_php_info.php
@@ -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()
+ {
+ }
+}
+
+?> \ No newline at end of file
diff --git a/phpBB/includes/acp/info/acp_profile.php b/phpBB/includes/acp/info/acp_profile.php
new file mode 100644
index 0000000000..da97478cad
--- /dev/null
+++ b/phpBB/includes/acp/info/acp_profile.php
@@ -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()
+ {
+ }
+}
+
+?> \ No newline at end of file
diff --git a/phpBB/includes/acp/info/acp_prune.php b/phpBB/includes/acp/info/acp_prune.php
new file mode 100644
index 0000000000..22f416b80e
--- /dev/null
+++ b/phpBB/includes/acp/info/acp_prune.php
@@ -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()
+ {
+ }
+}
+
+?> \ No newline at end of file
diff --git a/phpBB/includes/acp/info/acp_ranks.php b/phpBB/includes/acp/info/acp_ranks.php
new file mode 100644
index 0000000000..c8bb56ada1
--- /dev/null
+++ b/phpBB/includes/acp/info/acp_ranks.php
@@ -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()
+ {
+ }
+}
+
+?> \ No newline at end of file
diff --git a/phpBB/includes/acp/info/acp_reasons.php b/phpBB/includes/acp/info/acp_reasons.php
new file mode 100644
index 0000000000..0e1b21f5b6
--- /dev/null
+++ b/phpBB/includes/acp/info/acp_reasons.php
@@ -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()
+ {
+ }
+}
+
+?> \ No newline at end of file
diff --git a/phpBB/includes/acp/info/acp_search.php b/phpBB/includes/acp/info/acp_search.php
new file mode 100644
index 0000000000..09f128ab55
--- /dev/null
+++ b/phpBB/includes/acp/info/acp_search.php
@@ -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()
+ {
+ }
+}
+
+?> \ No newline at end of file
diff --git a/phpBB/includes/acp/info/acp_styles.php b/phpBB/includes/acp/info/acp_styles.php
new file mode 100644
index 0000000000..e2df12ff4f
--- /dev/null
+++ b/phpBB/includes/acp/info/acp_styles.php
@@ -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()
+ {
+ }
+}
+
+?> \ No newline at end of file
diff --git a/phpBB/includes/acp/info/acp_users.php b/phpBB/includes/acp/info/acp_users.php
new file mode 100644
index 0000000000..af7f34060c
--- /dev/null
+++ b/phpBB/includes/acp/info/acp_users.php
@@ -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()
+ {
+ }
+}
+
+?> \ No newline at end of file
diff --git a/phpBB/includes/acp/info/acp_words.php b/phpBB/includes/acp/info/acp_words.php
new file mode 100644
index 0000000000..08913b1f5f
--- /dev/null
+++ b/phpBB/includes/acp/info/acp_words.php
@@ -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()
+ {
+ }
+}
+
+?> \ No newline at end of file