aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/info/acp_users.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-03-25 19:14:55 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-03-25 19:14:55 +0000
commit1a8c91b0d40bc0331722906607ddf99c2be7c8d9 (patch)
treef621d41a147c07afa7e7f357be5fb3e8bb38b576 /phpBB/includes/acp/info/acp_users.php
parent64fbadf3d6e05c00b7b72ed0f40d9c16f0806f3b (diff)
downloadforums-1a8c91b0d40bc0331722906607ddf99c2be7c8d9.tar
forums-1a8c91b0d40bc0331722906607ddf99c2be7c8d9.tar.gz
forums-1a8c91b0d40bc0331722906607ddf99c2be7c8d9.tar.bz2
forums-1a8c91b0d40bc0331722906607ddf99c2be7c8d9.tar.xz
forums-1a8c91b0d40bc0331722906607ddf99c2be7c8d9.zip
ok, thought about this now for too long. I think the best solution circumventing memory consumption and not introducing "hacks" is to seperate module information (and probably more in 3.2 for installation/uninstallation) from the main code.
git-svn-id: file:///svn/phpbb/trunk@5725 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/info/acp_users.php')
-rw-r--r--phpBB/includes/acp/info/acp_users.php46
1 files changed, 46 insertions, 0 deletions
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