[dw-free] English-strip /community/sentinvites
[commit: http://hg.dwscoalition.org/dw-free/rev/26b2765a4c76]
http://bugs.dwscoalition.org/show_bug.cgi?id=413
English-strip dropdown and button
Patch by
wyntarvox.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=413
English-strip dropdown and button
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- htdocs/community/sentinvites.bml
- htdocs/community/sentinvites.bml.text
-------------------------------------------------------------------------------- diff -r 7bd20265586d -r 26b2765a4c76 htdocs/community/sentinvites.bml --- a/htdocs/community/sentinvites.bml Thu May 21 15:27:48 2009 +0000 +++ b/htdocs/community/sentinvites.bml Thu May 21 16:35:25 2009 +0000 @@ -157,8 +157,8 @@ body<= my $showlinks = "<form method='get' action='/community/sentinvites.bml'>"; $showlinks .= LJ::html_hidden('authas', $c->{user}); $showlinks .= $ML{'.filterto'}; - $showlinks .= LJ::html_select({ name => 'show', selected => $GET{show} }, map { $_, $_ } qw(all accepted outstanding rejected)); - $showlinks .= LJ::html_submit(undef, 'Refresh'); + $showlinks .= LJ::html_select( { name => 'show', selected => $GET{show} }, all => $ML{'.filterto.opts.all'}, accepted => $ML{'.filterto.opts.accepted'}, rejected => $ML{'.filterto.opts.rejected'}, outstanding => $ML{'.filterto.opts.outstanding'} ); + $showlinks .= LJ::html_submit( undef, $ML{'.filterto.btn.refresh'} ); $showlinks .= "</form>"; my $filter = "&show=$GET{show}" if $GET{show}; diff -r 7bd20265586d -r 26b2765a4c76 htdocs/community/sentinvites.bml.text --- a/htdocs/community/sentinvites.bml.text Thu May 21 15:27:48 2009 +0000 +++ b/htdocs/community/sentinvites.bml.text Thu May 21 16:35:25 2009 +0000 @@ -4,6 +4,16 @@ .error.notcomm=[[user]] is not a community. .filterto=Filter to: + +.filterto.btn.refresh=Refresh + +.filterto.opts.accepted=accepted + +.filterto.opts.all=all + +.filterto.opts.outstanding=outstanding + +.filterto.opts.rejected=rejected .key.date=Date --------------------------------------------------------------------------------