From c77b733e7f11c9946a0e3b9db4a8d11e26a9e57d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 16 Aug 2008 06:04:30 +0000 Subject: [PATCH] Amount added to refill form --- application/ship-simu/config.php | 8 ++++---- .../templates/de/code/action_login_money_refill.ctp | 10 +++++++--- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/application/ship-simu/config.php b/application/ship-simu/config.php index 93084b3..1091e90 100644 --- a/application/ship-simu/config.php +++ b/application/ship-simu/config.php @@ -205,8 +205,8 @@ $cfg->setConfigEntry('shipsimu_user_login_captcha', "GraphicalCodeCaptcha"); // CFG: SHIPSIMU-GUEST-LOGIN-CAPTCHA $cfg->setConfigEntry('shipsimu_guest_login_captcha', "GraphicalCodeCaptcha"); -// CFG: REFILL-FORM-CAPTCHA -$cfg->setConfigEntry('refill_form_captcha', "GraphicalCodeCaptcha"); +// CFG: MONEY-REFILL-FORM-CAPTCHA +$cfg->setConfigEntry('money_refill_form_captcha', "GraphicalCodeCaptcha"); // CFG: LOGOUT-IMMEDIATE $cfg->setConfigEntry('logout_immediate', "N"); @@ -229,8 +229,8 @@ $cfg->setConfigEntry('shipsimu_user_login_captcha_secured', "Y"); // CFG: SHIPSIMU-GUEST-LOGIN-CAPTCHA-SECURED $cfg->setConfigEntry('shipsimu_guest_login_captcha_secured', "Y"); -// CFG: REFILL-FORM-CAPTCHA-SECURED -$cfg->setConfigEntry('refill_form_captcha_secured', "Y"); +// CFG: MONEY-REFILL-FORM-CAPTCHA-SECURED +$cfg->setConfigEntry('money_refill_form_captcha_secured', "Y"); // CFG: BLOCK-SHOWS-REGISTRATION $cfg->setConfigEntry('block_shows_registration', "Y"); diff --git a/application/ship-simu/templates/de/code/action_login_money_refill.ctp b/application/ship-simu/templates/de/code/action_login_money_refill.ctp index f170fbd..d922418 100644 --- a/application/ship-simu/templates/de/code/action_login_money_refill.ctp +++ b/application/ship-simu/templates/de/code/action_login_money_refill.ctp @@ -1,9 +1,9 @@ addFormGroup('refill_form', "Bitte wähle aus, was du nachbestellen willst und gebe die Menge an."); +$helper->addFormGroup('money_refill_form', "Bitte wähle aus, was du nachbestellen willst und gebe die Menge an."); // Add sub group $helper->addInputSelectField('type', "--- Bitte auswählen ---"); @@ -21,6 +21,10 @@ $helper->addSelectOption('raw_stones', "Steine"); // This is needed to close the select tag $helper->addInputSelectField('type', ""); +// Field for amount +$helper->addFormSubGroup('amount', "Gebe hier in ganzen Zahlen die Menge an, die du nachbestellen willst."); +$helper->addInputTextField('amount', 1000); + // CAPTCHA enbaled? if ($helper->ifFormSecuredWithCaptcha()) { $helper->addFormGroup('captcha_refill', "Bitte wiederhole den angezeigten Code:"); @@ -38,6 +42,6 @@ $helper->flushContent(); Jetzt dein {?currency?}-Konto aufladen!
- {?refill_form?} + {?money_refill_form?}
-- 2.30.2