]> git.mxchange.org Git - shipsimu.git/blob - application/ship-simu/templates/de/code/action_login_money_refill.ctp
More stubs in refill page, refill page filter basicly finished
[shipsimu.git] / application / ship-simu / templates / de / code / action_login_money_refill.ctp
1 <?php
2 // Neue Helper-Instanz holen
3 $helper = WebFormHelper::createWebFormHelper($this, 'refill_form');
4
5 // Add form group
6 $helper->addFormGroup('refill_form', "Bitte w&auml;hle aus, was du nachbestellen willst und gebe die Menge an.");
7
8 // Add sub group
9 $helper->addFormSubGroup('refill_type', "Was m&ouml;chstest du nun nachbestellen?");
10 $helper->addInputSelectField('type', "Bitte ausw&auml;hlen");
11
12 // In-game currencies (if more than default add them here!)
13 $helper->addSelectSubOption('currencies', "--- W&auml;hrungen ---");
14 $helper->addSelectOption('currency', "{?currency?}");
15
16 // Raw materials
17 $helper->addSelectSubOption('raw_materials', "--- Rohstoffe ---");
18 $helper->addSelectOption('raw_wood', "Holz");
19 $helper->addSelectOption('raw_iron', "Metall");
20 $helper->addSelectOption('raw_stones', "Steine");
21
22 // This is needed to close the select tag
23 $helper->addInputSelectField('type', "");
24
25 // CAPTCHA enbaled?
26 if ($helper->ifFormSecuredWithCaptcha()) {
27         $helper->addFormGroup('captcha_refill', "Bitte wiederhole den angezeigten Code:");
28         $helper->addCaptcha();
29 } // END - if
30
31 // Submit button
32 $helper->addFormGroup('buttons_refill', "Mit Absenden des Formulars wird deine Nachbestellung rechtskr&auml;ftig!");
33 $helper->addInputResetButton("Eingaben l&ouml;schen");
34 $helper->addInputSubmitButton("Nachbestellung verbindlich aufgeben");
35 $helper->flushContent();
36 ?>
37 <div id="refill_frame">
38         <div class="content_header">
39                 Jetzt dein {?currency?}-Konto aufladen!
40         </div>
41         <div class="content_body">
42                 {?refill_form?}
43         </div>
44 </div>