From 5449c591a9721a63098f794a24e0bcef690ebb51 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Tue, 4 Oct 2005 21:31:35 +0000 Subject: - changed ucp classes to work with the new module system - mcp is no longer working, i know. git-svn-id: file:///svn/phpbb/trunk@5254 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/ucp/ucp_groups.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'phpBB/includes/ucp/ucp_groups.php') diff --git a/phpBB/includes/ucp/ucp_groups.php b/phpBB/includes/ucp/ucp_groups.php index dbcd859997..4cbf3740c0 100644 --- a/phpBB/includes/ucp/ucp_groups.php +++ b/phpBB/includes/ucp/ucp_groups.php @@ -12,9 +12,9 @@ * @package ucp * ucp_groups */ -class ucp_groups extends module +class ucp_groups { - function ucp_groups($id, $mode) + function main($id, $mode) { global $config, $db, $user, $auth, $SID, $template, $phpbb_root_path, $phpEx; @@ -367,7 +367,7 @@ class ucp_groups extends module break; } - $this->display($user->lang['UCP_GROUPS_' . strtoupper($mode)], 'ucp_groups_' . $mode . '.html'); + $this->tpl_name = 'ucp_groups_' . $mode; } } -- cgit v1.2.1