Add links back to the main support page and the support board after 
changing support notification preferences.

        Patch by ninetydegrees. 

diffs (32 lines):

diff -r 2d7f013b42b0 -r 8cc7e00fc793 htdocs/support/changenotify.bml
--- a/htdocs/support/changenotify.bml   Sat Nov 27 00:24:06 2010 +0800
+++ b/htdocs/support/changenotify.bml   Mon Nov 29 10:19:26 2010 +0800
@@ -115,7 +115,11 @@ body<=
      }     
      if ($sql) { $dbh->do($sql); }
      
-     return "<?h1 $ML{'.success.title'} h1?><?p $ML{'.success.text'} p?>";
+    return "<?h1 $ML{'.success.title'} h1?>\n" .
+                "<?p $ML{'.success.text'} p?>" .
+                    "<?p $ML{'.success.fromhere'} p?>" .
+                    "<ul><li><a 
href='$LJ::SITEROOT/support/help'>$ML{'.success.fromhere.board'}</a></li>" .
+                    "<li><a 
href='$LJ::SITEROOT/support'>$ML{'.success.fromhere.support'}</a></li></ul>";
  }
 
  return $ML{'.unknow.mode'};
diff -r 2d7f013b42b0 -r 8cc7e00fc793 htdocs/support/changenotify.bml.text
--- a/htdocs/support/changenotify.bml.text      Sat Nov 27 00:24:06 2010 +0800
+++ b/htdocs/support/changenotify.bml.text      Mon Nov 29 10:19:26 2010 +0800
@@ -19,6 +19,12 @@
 
 .submit.button=Save Changes
 
+.success.fromhere=From here you can:
+
+.success.fromhere.board=Return to the Support Board
+
+.success.fromhere.support=Go to the Support Area
+
 .success.text=Your notification settings have been updated. 
 
 .success.title=Success
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to