afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
afuna ([personal profile] afuna) wrote in [site community profile] changelog2009-09-11 07:27 pm

[dw-free] Extra "Save" button on Manage Subscriptions page

[commit: http://hg.dwscoalition.org/dw-free/rev/41b0b9a8069b]

http://bugs.dwscoalition.org/show_bug.cgi?id=1754

Add save button to the top of the page.

Patch by [personal profile] cesy.

Files modified:
  • htdocs/manage/settings/index.bml
--------------------------------------------------------------------------------
diff -r 4a89dab53fe1 -r 41b0b9a8069b htdocs/manage/settings/index.bml
--- a/htdocs/manage/settings/index.bml	Fri Sep 11 18:32:04 2009 +0000
+++ b/htdocs/manage/settings/index.bml	Fri Sep 11 19:27:15 2009 +0000
@@ -396,6 +396,11 @@ body<=
     $ret .= "<div class='$given_cat'>";
 
     if ($given_cat eq "notifications") {
+
+    $ret .= "<div id='settings_save'>";
+    $ret .= $cats_with_settings{$given_cat}->{form} ? LJ::html_submit($ML{'.btn.save'}) : "&nbsp;";
+    $ret .= "</div>";
+
         my $my_account_extra = LJ::run_hook('subscriptions_manage_my_account_extra', $u);
 
         # set up default subscriptions for users that have not managed ESN stuff
--------------------------------------------------------------------------------