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_pm_viewfolder.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'phpBB/includes/ucp/ucp_pm_viewfolder.php') diff --git a/phpBB/includes/ucp/ucp_pm_viewfolder.php b/phpBB/includes/ucp/ucp_pm_viewfolder.php index c52349e92a..a15acd9c5d 100644 --- a/phpBB/includes/ucp/ucp_pm_viewfolder.php +++ b/phpBB/includes/ucp/ucp_pm_viewfolder.php @@ -14,13 +14,14 @@ */ function view_folder($id, $mode, $folder_id, $folder, $type) { - global $phpbb_root_path, $phpEx, $SID, $user, $template, $auth, $config, $db; + global $user, $template, $auth, $db, $cache; + global $phpbb_root_path, $config, $phpEx, $SID; $user->add_lang('viewforum'); // Grab icons $icons = array(); - obtain_icons($icons); + $cache->obtain_icons($icons); $color_rows = array('marked', 'replied', 'message_reported', 'friend', 'foe'); @@ -127,7 +128,7 @@ function view_folder($id, $mode, $folder_id, $folder, $type) // Generate all URIs ... $message_author = "' . $row['username'] . ''; - $view_message_url = "$url&i=$id&f=$folder_id&p=$message_id"; + $view_message_url = "$url&i=$id&mode=$mode&f=$folder_id&p=$message_id"; $remove_message_url = "$url&i=compose&action=delete&p=$message_id"; $row_indicator = ''; -- cgit v1.2.1