aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/privmsg.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-10-14 18:22:32 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-10-14 18:22:32 +0000
commit715a51c548f36ab2dca1fd61723f2f0b45e67a18 (patch)
treede089b57a0236d392c4dde081107a8a0d0dd6856 /phpBB/privmsg.php
parente4b9702ebc17ce0e3afb33afdd0e481d87e305ad (diff)
downloadforums-715a51c548f36ab2dca1fd61723f2f0b45e67a18.tar
forums-715a51c548f36ab2dca1fd61723f2f0b45e67a18.tar.gz
forums-715a51c548f36ab2dca1fd61723f2f0b45e67a18.tar.bz2
forums-715a51c548f36ab2dca1fd61723f2f0b45e67a18.tar.xz
forums-715a51c548f36ab2dca1fd61723f2f0b45e67a18.zip
Various changes to location redirection ... please note the format and name changes
git-svn-id: file:///svn/phpbb/trunk@1190 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/privmsg.php')
-rw-r--r--phpBB/privmsg.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php
index 5782c4eec6..9cd4fb2cf6 100644
--- a/phpBB/privmsg.php
+++ b/phpBB/privmsg.php
@@ -55,7 +55,7 @@ $folder = ( !empty($HTTP_POST_VARS['folder']) ) ? $HTTP_POST_VARS['folder'] : (
//
if( $cancel )
{
- header("Location: " . append_sid("privmsg.$phpEx?folder=$folder"));
+ header("Location: " . append_sid("privmsg.$phpEx?folder=$folder", true));
}
//
@@ -120,7 +120,7 @@ if( $mode == "read" )
if( !$userdata['session_logged_in'] )
{
- header("Location: " . append_sid("login.$phpEx?forward_page=privmsg.$phpEx&folder=$folder&mode=$mode&" . POST_POST_URL . "=$privmsgs_id"));
+ header("Location: " . append_sid("login.$phpEx?redirect=privmsg.$phpEx&folder=$folder&mode=$mode&" . POST_POST_URL . "=$privmsgs_id", true));
}
if( $folder )
@@ -191,7 +191,7 @@ if( $mode == "read" )
//
if( !( $privmsg = $db->sql_fetchrow($pm_status) ) )
{
- header("Location: " . append_sid("privmsg.$phpEx?folder=$folder"));
+ header("Location: " . append_sid("privmsg.$phpEx?folder=$folder", true));
}
$privmsg_id = $privmsg['privmsgs_id'];
@@ -510,7 +510,7 @@ else if( ( $delete && $mark_list ) || $delete_all )
{
if(!$userdata['session_logged_in'])
{
- header("Location: " . append_sid("login.$phpEx?forward_page=privmsg.$phpEx&amp;folder=inbox"));
+ header("Location: " . append_sid("login.$phpEx?redirect=privmsg.$phpEx&folder=inbox", true));
}
if( !$confirm )
@@ -652,7 +652,7 @@ else if( $save && $mark_list && $folder != "savebox" && $folder != "outbox")
{
if( !$userdata['session_logged_in'] )
{
- header("Location: " . append_sid("login.$phpEx?forward_page=privmsg.$phpEx&folder=inbox"));
+ header("Location: " . append_sid("login.$phpEx?redirect=privmsg.$phpEx&folder=inbox", true));
}
//
@@ -740,7 +740,7 @@ else if( $submit || $refresh || $mode != "" )
if(!$userdata['session_logged_in'])
{
- header("Location: " . append_sid("login.$phpEx?forward_page=privmsg.$phpEx&amp;folder=$folder&amp;mode=$mode"));
+ header("Location: " . append_sid("login.$phpEx?redirect=privmsg.$phpEx&folder=$folder&mode=$mode", true));
}
if( $mode == "searchuser" )
@@ -1140,7 +1140,7 @@ else if( $submit || $refresh || $mode != "" )
}
if(!$db->sql_numrows($pm_edit_status))
{
- header("Location: " . append_sid("privmsg.$phpEx?folder=$folder"));
+ header("Location: " . append_sid("privmsg.$phpEx?folder=$folder", true));
}
$privmsg = $db->sql_fetchrow($pm_edit_status);
@@ -1174,7 +1174,7 @@ else if( $submit || $refresh || $mode != "" )
}
if( !$db->sql_numrows($pm_reply_status) )
{
-// header("Location: " . append_sid("privmsg.$phpEx?folder=$folder"));
+// header("Location: " . append_sid("privmsg.$phpEx?folder=$folder", true));
}
$privmsg = $db->sql_fetchrow($pm_reply_status);
@@ -1500,7 +1500,7 @@ else if( $submit || $refresh || $mode != "" )
//
if(!$userdata['session_logged_in'])
{
- header("Location: " . append_sid("login.$phpEx?forward_page=privmsg.$phpEx&amp;folder=inbox"));
+ header("Location: " . append_sid("login.$phpEx?redirect=privmsg.$phpEx&folder=inbox", true));
}
$page_title = $lang['Private_Messaging'];