[Rt-commit] r5573 - in rt/branches/3.6-RELEASE: . html/Ticket
jesse at bestpractical.com
jesse at bestpractical.com
Mon Jul 17 12:41:36 EDT 2006
Author: jesse
Date: Mon Jul 17 12:41:35 2006
New Revision: 5573
Modified:
rt/branches/3.6-RELEASE/ (props changed)
rt/branches/3.6-RELEASE/html/Ticket/Display.html
rt/branches/3.6-RELEASE/html/index.html
Log:
r14054 at pinglin: jesse | 2006-07-17 11:28:21 -0400
* Switch our redirects to use the new RT::Interface::Web::Redirect method
Modified: rt/branches/3.6-RELEASE/html/Ticket/Display.html
==============================================================================
--- rt/branches/3.6-RELEASE/html/Ticket/Display.html (original)
+++ rt/branches/3.6-RELEASE/html/Ticket/Display.html Mon Jul 17 12:41:35 2006
@@ -147,16 +147,13 @@
}
# This code does automatic redirection if any updates happen.
-# It doesn't work for the client.
-
-
if (@Actions) {
# We've done something, so we need to clear the decks to avoid
# resubmission on refresh.
# But we need to store Actions somewhere too, so we don't lose them.
$session{"Actions"} = \@Actions;
- $m->redirect($RT::WebURL."Ticket/Display.html?id=".$TicketObj->id);
+ RT::Interface::Web::Redirect($RT::WebURL."Ticket/Display.html?id=".$TicketObj->id);
} else {
@Actions = @{$session{"Actions"} || [] };
delete $session{"Actions"};
Modified: rt/branches/3.6-RELEASE/html/index.html
==============================================================================
--- rt/branches/3.6-RELEASE/html/index.html (original)
+++ rt/branches/3.6-RELEASE/html/index.html Mon Jul 17 12:41:35 2006
@@ -4,7 +4,7 @@
% if (0) {
%# -->
<html><head>
-<meta http-equiv="refresh" content="3; url=http://bestpractical.com/rt/rt-broken-install.html">
+<meta http-equiv="refresh" content="30; url=http://bestpractical.com/rt/rt-broken-install.html">
<title>Almost there!</title></head>
<body>
@@ -17,7 +17,7 @@
server to "run" the RT server which powers the web interface.
The next step is to edit your webserver's configuration file to instruct it to use
-RT's <strong>mod_perl</strong>, <strong>fastcgi</strong> or <strong>speedycgi</strong> handler.
+RT's <strong>mod_perl</strong>, <strong>FastCGI</strong> or <strong>SpeedyCGI</strong> handler.
If you need commercial support, please contact us at sales at bestpractical.com.
@@ -94,8 +94,7 @@
if ( $ARGS{'q'} ) {
- $m->redirect($RT::WebURL."Search/Simple.html?q=".$m->interp->apply_escapes($ARGS{q}));
- $m->abort;
+ RT::Interface::Web::Redirect($RT::WebURL."Search/Simple.html?q=".$m->interp->apply_escapes($ARGS{q}));
}
if ($ARGS{'HomeRefreshInterval'}) {
More information about the Rt-commit
mailing list