aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/ucp')
-rw-r--r--phpBB/includes/ucp/info/ucp_attachments.php37
-rw-r--r--phpBB/includes/ucp/info/ucp_groups.php38
-rw-r--r--phpBB/includes/ucp/info/ucp_main.php40
-rw-r--r--phpBB/includes/ucp/info/ucp_pm.php41
-rw-r--r--phpBB/includes/ucp/info/ucp_prefs.php39
-rw-r--r--phpBB/includes/ucp/info/ucp_profile.php40
-rw-r--r--phpBB/includes/ucp/info/ucp_zebra.php38
-rw-r--r--phpBB/includes/ucp/ucp_attachments.php26
-rw-r--r--phpBB/includes/ucp/ucp_groups.php27
-rw-r--r--phpBB/includes/ucp/ucp_main.php29
-rw-r--r--phpBB/includes/ucp/ucp_pm.php31
-rw-r--r--phpBB/includes/ucp/ucp_prefs.php28
-rw-r--r--phpBB/includes/ucp/ucp_profile.php29
-rw-r--r--phpBB/includes/ucp/ucp_zebra.php27
14 files changed, 273 insertions, 197 deletions
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