From 1a8c91b0d40bc0331722906607ddf99c2be7c8d9 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sat, 25 Mar 2006 19:14:55 +0000 Subject: 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 --- phpBB/includes/acp/info/acp_board.php | 45 +++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 phpBB/includes/acp/info/acp_board.php (limited to 'phpBB/includes/acp/info/acp_board.php') 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 @@ + '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 -- cgit v1.2.1