aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_pm_viewfolder.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2005-10-04 21:31:35 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2005-10-04 21:31:35 +0000
commit5449c591a9721a63098f794a24e0bcef690ebb51 (patch)
treecffa50a6b77b053e3e738cada55f5623352977f5 /phpBB/includes/ucp/ucp_pm_viewfolder.php
parent95ff1f3b64fdbf7d72fa86a94cf606a0369aa6bd (diff)
downloadforums-5449c591a9721a63098f794a24e0bcef690ebb51.tar
forums-5449c591a9721a63098f794a24e0bcef690ebb51.tar.gz
forums-5449c591a9721a63098f794a24e0bcef690ebb51.tar.bz2
forums-5449c591a9721a63098f794a24e0bcef690ebb51.tar.xz
forums-5449c591a9721a63098f794a24e0bcef690ebb51.zip
- 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
Diffstat (limited to 'phpBB/includes/ucp/ucp_pm_viewfolder.php')
-rw-r--r--phpBB/includes/ucp/ucp_pm_viewfolder.php7
1 files changed, 4 insertions, 3 deletions
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 = "<a href=\"{$phpbb_root_path}memberlist.$phpEx$SID&amp;mode=viewprofile&amp;u=" . $row['author_id'] . '">' . $row['username'] . '</a>';
- $view_message_url = "$url&amp;i=$id&amp;f=$folder_id&amp;p=$message_id";
+ $view_message_url = "$url&amp;i=$id&amp;mode=$mode&amp;f=$folder_id&amp;p=$message_id";
$remove_message_url = "$url&amp;i=compose&amp;action=delete&amp;p=$message_id";
$row_indicator = '';