X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fpref%2Fpref-process.html;h=1b18d2ec8b850ccea0d6df23a2df22626483693f;hp=75e57958f5be9888fda7a66c0873562bbbb721d1;hb=11bbf29de447fe39e9d7155fe280a0df70fa8c3c;hpb=cbfeb5f6b7490f78361318ce6290bfb442dbfcbe diff --git a/httemplate/pref/pref-process.html b/httemplate/pref/pref-process.html index 75e57958f..1b18d2ec8 100644 --- a/httemplate/pref/pref-process.html +++ b/httemplate/pref/pref-process.html @@ -1,9 +1,15 @@ % if ( $error ) { % $cgi->param('error', $error); -<% $cgi->redirect(popurl(1). "pref.html?". $cgi->query_string ) %> + <% $cgi->redirect(popurl(1). "pref.html?". $cgi->query_string ) %> % } else { -<% include('/elements/header.html', mt('Preferences updated')) %> -<% include('/elements/footer.html') %> + <% $cgi->redirect( -uri => popurl(1). "pref.html", + -cookie => CGI::Cookie->new( + -name => 'freeside_status', + -value => mt('Preferences updated'), + -expires => '+5m', + ), + ) + %> % } <%init>