[dw-free] credit card expiration in shop still has 2010 as default
[commit: http://hg.dwscoalition.org/dw-free/rev/83db1f514e3b]
http://bugs.dwscoalition.org/show_bug.cgi?id=3620
Add one year to the end, take another year off.
Patch by
ninetydegrees.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=3620
Add one year to the end, take another year off.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- htdocs/shop/entercc.bml
-------------------------------------------------------------------------------- diff -r d355b683e217 -r 83db1f514e3b htdocs/shop/entercc.bml --- a/htdocs/shop/entercc.bml Mon Apr 11 16:10:23 2011 +0800 +++ b/htdocs/shop/entercc.bml Mon Apr 18 12:18:34 2011 +0800 @@ -103,7 +103,7 @@ body<= ccnum => LJ::html_text({ name => 'ccnum', id => 'ccnum', maxlength => 19 }) . $accepted_ccs, cvv2 => LJ::html_text({ name => 'cvv2', id => 'cvv2', maxlength => 4, size => 5 }), expmon => LJ::html_select({ name => 'expmon', id => 'expmon', selected => $POST{expmon} }, map { $_ => LJ::Lang::month_long( $_ ) } 1..12 ), - expyear => LJ::html_select({ name => 'expyear', id => 'expyear', selected => $POST{expyear} }, map { $_ => $_ } 2010..2019 ), + expyear => LJ::html_select({ name => 'expyear', id => 'expyear', selected => $POST{expyear} }, map { $_ => $_ } 2011..2020 ), ); my $out = "<?p $ML{'.about'} p?><?p <strong>" . LJ::Lang::ml( '.about.security', { sitename => $LJ::SITENAME } ) . "</strong> p?>"; --------------------------------------------------------------------------------