[dw-free] allow people to choose whether or not to be notified on crosspost
[commit: http://hg.dwscoalition.org/dw-free/rev/6808519e7eec]
http://bugs.dwscoalition.org/show_bug.cgi?id=939
Cleanup whitespace.
Patch by
kareila.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=939
Cleanup whitespace.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- htdocs/manage/settings/index.bml
-------------------------------------------------------------------------------- diff -r 5212b8244788 -r 6808519e7eec htdocs/manage/settings/index.bml --- a/htdocs/manage/settings/index.bml Wed Aug 24 15:34:18 2011 +0800 +++ b/htdocs/manage/settings/index.bml Wed Aug 24 18:52:56 2011 +0800 @@ -162,7 +162,7 @@ settings => [qw( DW::Setting::XPostAccounts )], - + }, ); @@ -423,19 +423,20 @@ if ($given_cat eq "notifications") { - LJ::set_active_resource_group( 'jquery' ); - LJ::need_res( { group => 'jquery' }, 'js/notifications.js' ); + LJ::set_active_resource_group( 'jquery' ); + LJ::need_res( { group => 'jquery' }, 'js/notifications.js' ); - $ret .= "<div id='settings_save' class='action-bar'>"; - $ret .= $cats_with_settings{$given_cat}->{form} ? LJ::html_submit($ML{'.btn.save'}) : " "; - $ret .= " "; - my $del_conf = LJ::ejs( $ML{'.confirm.deleteinactive2'} ); - $ret .= LJ::html_submit( 'deleteinactive', $ML{'.btn.deleteinactive2'}, { - class => 'btn', - title => $ML{'.btn.deleteinactive2'}, - onClick => "return confirm( '$del_conf' )" - } ); - $ret .= "</div>"; + $ret .= "<div id='settings_save' class='action-bar'>"; + $ret .= $cats_with_settings{$given_cat}->{form} ? LJ::html_submit($ML{'.btn.save'}) : " "; + $ret .= " "; + my $del_conf = LJ::ejs( $ML{'.confirm.deleteinactive2'} ); + $ret .= LJ::html_submit( 'deleteinactive', $ML{'.btn.deleteinactive2'}, + { + class => 'btn', + title => $ML{'.btn.deleteinactive2'}, + onClick => "return confirm( '$del_conf' )" + } ); + $ret .= "</div>"; my $my_account_extra = LJ::Hooks::run_hook('subscriptions_manage_my_account_extra', $u); --------------------------------------------------------------------------------