f170fbd4ed1fa74b3159bc28308a44498c4008c8
[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->addInputSelectField('type', "--- Bitte ausw&auml;hlen ---");
10
11 // In-game currencies (if more than default add them here!)
12 $helper->addSelectSubOption('currencies', "--- W&auml;hrungen ---");
13 $helper->addSelectOption('currency', "{?currency?}");
14
15 // Raw materials
16 $helper->addSelectSubOption('raw_materials', "--- Rohstoffe ---");
17 $helper->addSelectOption('raw_wood', "Holz");
18 $helper->addSelectOption('raw_iron', "Metall");
19 $helper->addSelectOption('raw_stones', "Steine");
20
21 // This is needed to close the select tag
22 $helper->addInputSelectField('type', "");
23
24 // CAPTCHA enbaled?
25 if ($helper->ifFormSecuredWithCaptcha()) {
26         $helper->addFormGroup('captcha_refill', "Bitte wiederhole den angezeigten Code:");
27         $helper->addCaptcha();
28 } // END - if
29
30 // Submit button
31 $helper->addFormGroup('buttons_refill', "Mit Absenden des Formulars wird deine Nachbestellung rechtskr&auml;ftig!");
32 $helper->addInputResetButton("Eingaben l&ouml;schen");
33 $helper->addInputSubmitButton("Nachbestellung verbindlich aufgeben");
34 $helper->flushContent();
35 ?>
36 <div id="refill_frame">
37         <div class="content_header">
38                 Jetzt dein {?currency?}-Konto aufladen!
39         </div>
40         <div class="content_body">
41                 {?refill_form?}
42         </div>
43 </div>