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_styles.php | 40 ++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 phpBB/includes/acp/info/acp_styles.php (limited to 'phpBB/includes/acp/info/acp_styles.php') 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 @@ + '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 -- cgit v1.2.1