2 // Neue Helper-Instanz holen
3 $helper = WebFormHelper::createWebFormHelper($this, 'refill_form');
6 $helper->addFormGroup('refill_form', "Bitte wähle aus, was du nachbestellen willst und gebe die Menge an.");
9 $helper->addInputSelectField('type', "--- Bitte auswählen ---");
11 // In-game currencies (if more than default add them here!)
12 $helper->addSelectSubOption('currencies', "--- Währungen ---");
13 $helper->addSelectOption('currency', "{?currency?}");
16 $helper->addSelectSubOption('raw_materials', "--- Rohstoffe ---");
17 $helper->addSelectOption('raw_wood', "Holz");
18 $helper->addSelectOption('raw_iron', "Metall");
19 $helper->addSelectOption('raw_stones', "Steine");
21 // This is needed to close the select tag
22 $helper->addInputSelectField('type', "");
25 $helper->addFormSubGroup('amount', "Gebe hier in ganzen Zahlen die Menge an, die du nachbestellen willst.");
26 $helper->addInputTextField('amount', 1000);
29 if ($helper->ifFormSecuredWithCaptcha()) {
30 $helper->addFormGroup('captcha_refill', "Bitte wiederhole den angezeigten Code:");
31 $helper->addCaptcha();
35 $helper->addFormGroup('buttons_refill', "Mit Absenden des Formulars wird deine Nachbestellung rechtskräftig!");
36 $helper->addInputResetButton("Eingaben löschen");
37 $helper->addInputSubmitButton("Nachbestellung verbindlich aufgeben");
38 $helper->flushContent();
40 <div id="refill_frame">
41 <div class="content_header">
42 Jetzt dein {?currency?}-Konto aufladen!
44 <div class="content_body">