fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2012-01-10 10:38 am

[dw-free] update shop for 2012

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

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

Update allowed credit card expiry dates to 2022.

Patch by [staff profile] denise.

Files modified:
  • htdocs/shop/entercc.bml
--------------------------------------------------------------------------------
diff -r 0f810f940bd5 -r b5bd797a7d28 htdocs/shop/entercc.bml
--- a/htdocs/shop/entercc.bml	Tue Jan 10 18:34:33 2012 +0800
+++ b/htdocs/shop/entercc.bml	Tue Jan 10 18:39:19 2012 +0800
@@ -103,7 +103,7 @@
             ccnum => LJ::html_text({ name => 'ccnum', id => 'ccnum', maxlength => 19, autocomplete => 'off' }) . $accepted_ccs,
             cvv2 => LJ::html_text({ name => 'cvv2', id => 'cvv2', maxlength => 4, size => 5, autocomplete => 'off' }),
             expmon => LJ::html_select({ name => 'expmon', id => 'expmon', selected => $POST{expmon} }, map { $_ => LJ::Lang::month_long_ml( $_ ) . " - " . sprintf( '%0.2d', $_ ); } 1..12 ),
-            expyear => LJ::html_select({ name => 'expyear', id => 'expyear', selected => $POST{expyear} }, map { $_ => $_ } 2012..2020 ),
+            expyear => LJ::html_select({ name => 'expyear', id => 'expyear', selected => $POST{expyear} }, map { $_ => $_ } 2012..2022 ),
         );
 
         my $out = "<?p $ML{'.about'} p?><?p <strong>" . LJ::Lang::ml( '.about.security', { sitename => $LJ::SITENAME } ) . "</strong> p?>";
--------------------------------------------------------------------------------