]> git.mxchange.org Git - shipsimu.git/commitdiff
Amount added to refill form
authorRoland Häder <roland@mxchange.org>
Sat, 16 Aug 2008 06:04:30 +0000 (06:04 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 16 Aug 2008 06:04:30 +0000 (06:04 +0000)
application/ship-simu/config.php
application/ship-simu/templates/de/code/action_login_money_refill.ctp

index 93084b3ced8cdeb3b56912355778c631167f9965..1091e90e5eed386992ad1060c777f880bab482ee 100644 (file)
@@ -205,8 +205,8 @@ $cfg->setConfigEntry('shipsimu_user_login_captcha', "GraphicalCodeCaptcha");
 // CFG: SHIPSIMU-GUEST-LOGIN-CAPTCHA
 $cfg->setConfigEntry('shipsimu_guest_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");
 
 // 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: 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");
 
 // CFG: BLOCK-SHOWS-REGISTRATION
 $cfg->setConfigEntry('block_shows_registration', "Y");
index f170fbd4ed1fa74b3159bc28308a44498c4008c8..d92241848c00d37555e297cfc98e258df05fd9fd 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 // Neue Helper-Instanz holen
 <?php
 // Neue Helper-Instanz holen
-$helper = WebFormHelper::createWebFormHelper($this, 'refill_form');
+$helper = WebFormHelper::createWebFormHelper($this, 'money_refill_form');
 
 // Add form group
 
 // Add form group
-$helper->addFormGroup('refill_form', "Bitte w&auml;hle aus, was du nachbestellen willst und gebe die Menge an.");
+$helper->addFormGroup('money_refill_form', "Bitte w&auml;hle aus, was du nachbestellen willst und gebe die Menge an.");
 
 // Add sub group
 $helper->addInputSelectField('type', "--- Bitte ausw&auml;hlen ---");
 
 // Add sub group
 $helper->addInputSelectField('type', "--- Bitte ausw&auml;hlen ---");
@@ -21,6 +21,10 @@ $helper->addSelectOption('raw_stones', "Steine");
 // This is needed to close the select tag
 $helper->addInputSelectField('type', "");
 
 // 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:");
 // 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!
        </div>
        <div class="content_body">
                Jetzt dein {?currency?}-Konto aufladen!
        </div>
        <div class="content_body">
-               {?refill_form?}
+               {?money_refill_form?}
        </div>
 </div>
        </div>
 </div>