Changed default expiration date for subscription codes to 1 month and changed the form label.

This commit is contained in:
Martin Kamerbeek 2004-11-30 20:21:27 +00:00
parent a26c78d4aa
commit 2b346b9378
2 changed files with 3 additions and 3 deletions

View file

@ -59,7 +59,7 @@ sub www_createSubscriptionCodeBatch {
$f->interval(
-name => 'expires',
-label => $i18n->get('codes expire'),
-value => $session{form}{expires}
-value => $session{form}{expires} || WebGUI::DateTime::intervalToSeconds(1, 'months')
);
$f->selectList(
-name => 'subscriptionId',

View file

@ -121,8 +121,8 @@ The amount of karma which is added to the user after he/she subscribes.<br>|,
},
'codes expire' => {
message => q|Codes expire per|,
lastUpdated => 1101228391,
message => q|Codes expire after|,
lastUpdated => 1101228392,
context => q|Form option in createSubscriptionCodeBatch.|
},