RT# 78617 - updated redirect to freeside_status to show update message
authorChristopher Burger <burgerc@freeside.biz>
Fri, 12 Jan 2018 21:52:28 +0000 (16:52 -0500)
committerChristopher Burger <burgerc@freeside.biz>
Sun, 14 Jan 2018 17:01:29 +0000 (12:01 -0500)
Conflicts:
httemplate/pref/pref-process.html
httemplate/pref/pref.html

httemplate/elements/alert.html [deleted file]
httemplate/pref/pref-process.html
httemplate/pref/pref.html

diff --git a/httemplate/elements/alert.html b/httemplate/elements/alert.html
deleted file mode 100644 (file)
index 620588b..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-% if ( $cgi->param('alert') ) { 
-  <FONT SIZE="+1" COLOR="#008000"><% mt($cgi->param('alert')) |h %></FONT>
-  <BR><BR>
-% } 
\ No newline at end of file
index cf0d824..122e92f 100644 (file)
@@ -1,10 +1,9 @@
 % 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', 'Preferences updated') %>
 <% include('/elements/footer.html') %>
-<% $cgi->redirect(popurl(1). "pref.html?alert=Preferences updated" ) %>
 % }
 <%init>
 
index c7c7c9d..c504b2c 100644 (file)
@@ -6,10 +6,6 @@
 
 <% include('/elements/error.html') %>
 
-<<<<<<< HEAD
-=======
-<& /elements/alert.html &>
-
 % if ( FS::Auth->auth_class->can('change_password') ) {
 
 <% mt('Change password (leave blank for no change)') |h %>