diff options
Diffstat (limited to 'phpBB')
83 files changed, 1604 insertions, 1162 deletions
diff --git a/phpBB/adm/style/acp_users.html b/phpBB/adm/style/acp_users.html index 16e8bcd2f8..0df5e86b97 100644 --- a/phpBB/adm/style/acp_users.html +++ b/phpBB/adm/style/acp_users.html @@ -624,7 +624,7 @@ <!-- ELSE --> <!-- 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><!-- 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><a href="{group.U_DELETE}">{L_GROUP_DELETE}</a></td> <!-- ENDIF --> 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 diff --git a/phpBB/includes/mcp/info/mcp_ban.php b/phpBB/includes/mcp/info/mcp_ban.php new file mode 100644 index 0000000000..e8337f31a8 --- /dev/null +++ b/phpBB/includes/mcp/info/mcp_ban.php @@ -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() + { + } +} + +?>
\ No newline at end of file diff --git a/phpBB/includes/mcp/info/mcp_logs.php b/phpBB/includes/mcp/info/mcp_logs.php new file mode 100644 index 0000000000..f981f53696 --- /dev/null +++ b/phpBB/includes/mcp/info/mcp_logs.php @@ -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() + { + } +} + +?>
\ No newline at end of file diff --git a/phpBB/includes/mcp/info/mcp_main.php b/phpBB/includes/mcp/info/mcp_main.php new file mode 100644 index 0000000000..baa0d96eac --- /dev/null +++ b/phpBB/includes/mcp/info/mcp_main.php @@ -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() + { + } +} + +?>
\ No newline at end of file diff --git a/phpBB/includes/mcp/info/mcp_notes.php b/phpBB/includes/mcp/info/mcp_notes.php new file mode 100644 index 0000000000..0f19125131 --- /dev/null +++ b/phpBB/includes/mcp/info/mcp_notes.php @@ -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() + { + } +} + +?>
\ No newline at end of file diff --git a/phpBB/includes/mcp/info/mcp_queue.php b/phpBB/includes/mcp/info/mcp_queue.php new file mode 100644 index 0000000000..27e58e5b7a --- /dev/null +++ b/phpBB/includes/mcp/info/mcp_queue.php @@ -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() + { + } +} + +?>
\ No newline at end of file diff --git a/phpBB/includes/mcp/info/mcp_reports.php b/phpBB/includes/mcp/info/mcp_reports.php new file mode 100644 index 0000000000..e8087d04a3 --- /dev/null +++ b/phpBB/includes/mcp/info/mcp_reports.php @@ -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() + { + } +} + +?>
\ No newline at end of file diff --git a/phpBB/includes/mcp/info/mcp_warn.php b/phpBB/includes/mcp/info/mcp_warn.php new file mode 100644 index 0000000000..f0ebfcec55 --- /dev/null +++ b/phpBB/includes/mcp/info/mcp_warn.php @@ -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() + { + } +} + +?>
\ No newline at end of file diff --git a/phpBB/includes/mcp/mcp_ban.php b/phpBB/includes/mcp/mcp_ban.php index 2ae9710d03..ab13cce136 100644 --- a/phpBB/includes/mcp/mcp_ban.php +++ b/phpBB/includes/mcp/mcp_ban.php @@ -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() - { - } -} - ?>
\ No newline at end of file diff --git a/phpBB/includes/mcp/mcp_logs.php b/phpBB/includes/mcp/mcp_logs.php index dbaf9cc733..cc4e931970 100755 --- a/phpBB/includes/mcp/mcp_logs.php +++ b/phpBB/includes/mcp/mcp_logs.php @@ -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 -// - ?>
\ No newline at end of file diff --git a/phpBB/includes/mcp/mcp_main.php b/phpBB/includes/mcp/mcp_main.php index a7e71d6e97..9513bc96f8 100644 --- a/phpBB/includes/mcp/mcp_main.php +++ b/phpBB/includes/mcp/mcp_main.php @@ -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() - { - } -} - ?>
\ No newline at end of file diff --git a/phpBB/includes/mcp/mcp_notes.php b/phpBB/includes/mcp/mcp_notes.php index 84f523762c..9a7419d0b4 100755 --- a/phpBB/includes/mcp/mcp_notes.php +++ b/phpBB/includes/mcp/mcp_notes.php @@ -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 // diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php index 422cb140f7..11378d1f9f 100644 --- a/phpBB/includes/mcp/mcp_queue.php +++ b/phpBB/includes/mcp/mcp_queue.php @@ -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() - { - } -} - ?>
\ No newline at end of file diff --git a/phpBB/includes/mcp/mcp_reports.php b/phpBB/includes/mcp/mcp_reports.php index 6bb6a2e609..8b30694e1a 100755 --- a/phpBB/includes/mcp/mcp_reports.php +++ b/phpBB/includes/mcp/mcp_reports.php @@ -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() - { - } -} - ?>
\ No newline at end of file diff --git a/phpBB/includes/mcp/mcp_warn.php b/phpBB/includes/mcp/mcp_warn.php index 06340d935c..10491b3528 100755 --- a/phpBB/includes/mcp/mcp_warn.php +++ b/phpBB/includes/mcp/mcp_warn.php @@ -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 // diff --git a/phpBB/includes/ucp/info/ucp_attachments.php b/phpBB/includes/ucp/info/ucp_attachments.php new file mode 100644 index 0000000000..bf4a904a51 --- /dev/null +++ b/phpBB/includes/ucp/info/ucp_attachments.php @@ -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() + { + } +} + +?>
\ No newline at end of file diff --git a/phpBB/includes/ucp/info/ucp_groups.php b/phpBB/includes/ucp/info/ucp_groups.php new file mode 100644 index 0000000000..f3def193c0 --- /dev/null +++ b/phpBB/includes/ucp/info/ucp_groups.php @@ -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() + { + } +} + +?>
\ No newline at end of file diff --git a/phpBB/includes/ucp/info/ucp_main.php b/phpBB/includes/ucp/info/ucp_main.php new file mode 100644 index 0000000000..50dd0ae93b --- /dev/null +++ b/phpBB/includes/ucp/info/ucp_main.php @@ -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() + { + } +} + +?>
\ No newline at end of file diff --git a/phpBB/includes/ucp/info/ucp_pm.php b/phpBB/includes/ucp/info/ucp_pm.php new file mode 100644 index 0000000000..5170f08d34 --- /dev/null +++ b/phpBB/includes/ucp/info/ucp_pm.php @@ -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() + { + } +} + +?>
\ No newline at end of file diff --git a/phpBB/includes/ucp/info/ucp_prefs.php b/phpBB/includes/ucp/info/ucp_prefs.php new file mode 100644 index 0000000000..d84c5f536a --- /dev/null +++ b/phpBB/includes/ucp/info/ucp_prefs.php @@ -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() + { + } +} + +?>
\ No newline at end of file diff --git a/phpBB/includes/ucp/info/ucp_profile.php b/phpBB/includes/ucp/info/ucp_profile.php new file mode 100644 index 0000000000..552e82b61e --- /dev/null +++ b/phpBB/includes/ucp/info/ucp_profile.php @@ -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() + { + } +} + +?>
\ No newline at end of file diff --git a/phpBB/includes/ucp/info/ucp_zebra.php b/phpBB/includes/ucp/info/ucp_zebra.php new file mode 100644 index 0000000000..6c55f0fb5e --- /dev/null +++ b/phpBB/includes/ucp/info/ucp_zebra.php @@ -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() + { + } +} + +?>
\ No newline at end of file diff --git a/phpBB/includes/ucp/ucp_attachments.php b/phpBB/includes/ucp/ucp_attachments.php index cc069e9270..f48012f9a0 100644 --- a/phpBB/includes/ucp/ucp_attachments.php +++ b/phpBB/includes/ucp/ucp_attachments.php @@ -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() - { - } -} - ?>
\ No newline at end of file diff --git a/phpBB/includes/ucp/ucp_groups.php b/phpBB/includes/ucp/ucp_groups.php index c6e0c3040e..21824e7aef 100644 --- a/phpBB/includes/ucp/ucp_groups.php +++ b/phpBB/includes/ucp/ucp_groups.php @@ -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() - { - } -} - ?>
\ No newline at end of file diff --git a/phpBB/includes/ucp/ucp_main.php b/phpBB/includes/ucp/ucp_main.php index 1b415b5074..77d855cda9 100644 --- a/phpBB/includes/ucp/ucp_main.php +++ b/phpBB/includes/ucp/ucp_main.php @@ -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() - { - } -} - ?>
\ No newline at end of file diff --git a/phpBB/includes/ucp/ucp_pm.php b/phpBB/includes/ucp/ucp_pm.php index 530b3493d8..83e711fea9 100644 --- a/phpBB/includes/ucp/ucp_pm.php +++ b/phpBB/includes/ucp/ucp_pm.php @@ -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() - { - } -} - ?>
\ No newline at end of file diff --git a/phpBB/includes/ucp/ucp_prefs.php b/phpBB/includes/ucp/ucp_prefs.php index 948aa3999c..8bddeee325 100644 --- a/phpBB/includes/ucp/ucp_prefs.php +++ b/phpBB/includes/ucp/ucp_prefs.php @@ -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() - { - } -} - ?>
\ No newline at end of file diff --git a/phpBB/includes/ucp/ucp_profile.php b/phpBB/includes/ucp/ucp_profile.php index a9327bcde0..77d26212bf 100644 --- a/phpBB/includes/ucp/ucp_profile.php +++ b/phpBB/includes/ucp/ucp_profile.php @@ -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() - { - } -} - ?>
\ No newline at end of file diff --git a/phpBB/includes/ucp/ucp_zebra.php b/phpBB/includes/ucp/ucp_zebra.php index 99abeb7133..cfe1fb9071 100644 --- a/phpBB/includes/ucp/ucp_zebra.php +++ b/phpBB/includes/ucp/ucp_zebra.php @@ -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() - { - } -} - ?>
\ No newline at end of file |