aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_queue.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2006-03-27 18:45:18 +0000
committerNils Adermann <naderman@naderman.de>2006-03-27 18:45:18 +0000
commit397fff57f2f62180996e5cfadc054d12554e3813 (patch)
treead903de79ca0d619c27b194571bb76755efcaaf0 /phpBB/includes/mcp/mcp_queue.php
parente7140d658d6bd37023eca51d6d01207a34fe2d0e (diff)
downloadforums-397fff57f2f62180996e5cfadc054d12554e3813.tar
forums-397fff57f2f62180996e5cfadc054d12554e3813.tar.gz
forums-397fff57f2f62180996e5cfadc054d12554e3813.tar.bz2
forums-397fff57f2f62180996e5cfadc054d12554e3813.tar.xz
forums-397fff57f2f62180996e5cfadc054d12554e3813.zip
- redirection should properly work now
- align jumpbox properly git-svn-id: file:///svn/phpbb/trunk@5734 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/mcp/mcp_queue.php')
-rw-r--r--phpBB/includes/mcp/mcp_queue.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php
index e63ffbbdc2..c09a2af257 100644
--- a/phpBB/includes/mcp/mcp_queue.php
+++ b/phpBB/includes/mcp/mcp_queue.php
@@ -517,7 +517,7 @@ function approve_post($post_id_list, $mode)
else
{
meta_refresh(3, $redirect);
- trigger_error($user->lang[$success_msg] . '<br /><br />' . sprintf($user->lang['RETURN_PAGE'], '<a href="' . $phpbb_root_path . $redirect . '">', '</a>') . '<br /><br />' . sprintf($user->lang['RETURN_FORUM'], "<a href=\"{$phpbb_root_path}viewforum.$phpEx$SID&amp;f=" . $forum_id . '">', '</a>'));
+ trigger_error($user->lang[$success_msg] . '<br /><br />' . sprintf($user->lang['RETURN_PAGE'], "<a href=\"$redirect\">", '</a>'));
}
}
@@ -720,8 +720,8 @@ function disapprove_post($post_id_list, $mode)
}
else
{
- meta_refresh(3, "viewforum.$phpEx$SID&amp;f=$forum_id");
- trigger_error($user->lang[$success_msg] . '<br /><br />' . sprintf($user->lang['RETURN_FORUM'], "<a href=\"{$phpbb_root_path}viewforum.$phpEx$SID&amp;f=" . $forum_id . '">', '</a>'));
+ meta_refresh(3, $redirect);
+ trigger_error($user->lang[$success_msg] . '<br /><br />' . sprintf($user->lang['RETURN_PAGE'], "<a href=\"$redirect\">", '</a>'));
}
}