aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/ucp')
-rw-r--r--phpBB/includes/ucp/ucp_groups.php4
-rw-r--r--phpBB/includes/ucp/ucp_pm.php2
2 files changed, 5 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_groups.php b/phpBB/includes/ucp/ucp_groups.php
index 23dda1438f..164c06d99c 100644
--- a/phpBB/includes/ucp/ucp_groups.php
+++ b/phpBB/includes/ucp/ucp_groups.php
@@ -33,6 +33,8 @@ class ucp_groups
switch ($mode)
{
case 'membership':
+
+ $this->page_title = 'UCP_USERGROUPS_MEMBER';
if ($submit || isset($_POST['change_default']))
{
@@ -377,6 +379,7 @@ class ucp_groups
case 'manage':
+ $this->page_title = 'UCP_USERGROUPS_MANAGE';
$action = (isset($_POST['addusers'])) ? 'addusers' : request_var('action', '');
$group_id = request_var('g', 0);
@@ -922,7 +925,6 @@ class ucp_groups
}
$this->tpl_name = 'ucp_groups_' . $mode;
- $this->page_title = 'UCP_GROUPS_' . strtoupper($mode);
}
}
diff --git a/phpBB/includes/ucp/ucp_pm.php b/phpBB/includes/ucp/ucp_pm.php
index f3a92f6adb..394004ccc4 100644
--- a/phpBB/includes/ucp/ucp_pm.php
+++ b/phpBB/includes/ucp/ucp_pm.php
@@ -150,7 +150,9 @@ class ucp_pm
$module = new ucp_main($this);
$module->u_action = $this->u_action;
$module->main($id, $mode);
+
$this->tpl_name = $module->tpl_name;
+ $this->page_title = 'UCP_PM_DRAFTS';
unset($module);
return;