fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-04-18 04:18 am

[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 [personal profile] ninetydegrees.

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?>";
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org