aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_groups.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-06-12 22:16:27 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-06-12 22:16:27 +0000
commit298d3c0c50f14601472b832f3ecd8fcd8c07dfe4 (patch)
tree68b06c337a4b20fe2bfba66732085d66fe9c1e12 /phpBB/includes/ucp/ucp_groups.php
parent4a0ddb9dfbe76f0e074d85a417541591ec25daa6 (diff)
downloadforums-298d3c0c50f14601472b832f3ecd8fcd8c07dfe4.tar
forums-298d3c0c50f14601472b832f3ecd8fcd8c07dfe4.tar.gz
forums-298d3c0c50f14601472b832f3ecd8fcd8c07dfe4.tar.bz2
forums-298d3c0c50f14601472b832f3ecd8fcd8c07dfe4.tar.xz
forums-298d3c0c50f14601472b832f3ecd8fcd8c07dfe4.zip
- get swatch converted into new acp format
- add page title to ucp pages - add ability to supress getting the who is online list in page_header() (saves us ideally 1-2 queries on ucp/mcp pages) - fixing pm rules a bit as well as now having complete author memberships for author_in_group (sender -> is in usergroup -> xxx) git-svn-id: file:///svn/phpbb/trunk@6054 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/ucp/ucp_groups.php')
-rw-r--r--phpBB/includes/ucp/ucp_groups.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/includes/ucp/ucp_groups.php b/phpBB/includes/ucp/ucp_groups.php
index 3f30ec2d37..40e5fca5d3 100644
--- a/phpBB/includes/ucp/ucp_groups.php
+++ b/phpBB/includes/ucp/ucp_groups.php
@@ -514,6 +514,8 @@ class ucp_groups
if (!($error = group_create($group_id, $group_type, $group_name, $group_desc, $group_attributes, $allow_desc_bbcode, $allow_desc_urls, $allow_desc_smilies)))
{
+ $cache->destroy('sql', GROUPS_TABLE);
+
$message = ($action == 'edit') ? 'GROUP_UPDATED' : 'GROUP_CREATED';
trigger_error($user->lang[$message] . $return_page);
}
@@ -919,6 +921,7 @@ class ucp_groups
}
$this->tpl_name = 'ucp_groups_' . $mode;
+ $this->page_title = 'UCP_GROUPS_' . strtoupper($mode);
}
}