From: Roland Häder Date: Fri, 19 Sep 2008 20:07:34 +0000 (+0000) Subject: More 'money' removed... ;) X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=commitdiff_plain;h=3e14ef5c3ea88d2eccb4aef42cd3d8f40f63fdab;ds=sidebyside More 'money' removed... ;) --- diff --git a/.gitattributes b/.gitattributes index 5dbb67a..7d0519d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -204,8 +204,8 @@ application/ship-simu/templates/.htaccess -text application/ship-simu/templates/de/.htaccess -text application/ship-simu/templates/de/code/action_login_company.ctp -text application/ship-simu/templates/de/code/action_login_logout.ctp -text -application/ship-simu/templates/de/code/action_login_money_refill.ctp -text application/ship-simu/templates/de/code/action_login_profile.ctp -text +application/ship-simu/templates/de/code/action_login_refill.ctp -text application/ship-simu/templates/de/code/action_login_status_problem.ctp -text application/ship-simu/templates/de/code/action_login_welcome.ctp -text application/ship-simu/templates/de/code/block_company_data.ctp -text diff --git a/application/ship-simu/templates/de/code/action_login_company.ctp b/application/ship-simu/templates/de/code/action_login_company.ctp index b6c5377..63285af 100644 --- a/application/ship-simu/templates/de/code/action_login_company.ctp +++ b/application/ship-simu/templates/de/code/action_login_company.ctp @@ -64,7 +64,7 @@ $linkInstance->addLinkGroup('refill_page', "Hole dir virtuelles Geld von uns zu if ($linkInstance->ifRefillPageActive()) { // Display link to refill page - $linkInstance->addActionLink('money_refill', "Jetzt dein virtuelles Geld aufladen."); + $linkInstance->addActionLink('refill', "Jetzt dein virtuelles Geld aufladen."); } else { // Refill page not active $linkInstance->addLinkNote("Das Aufladen ist derzeit nicht möglich oder gestört und wurde von uns deaktiviert."); 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 deleted file mode 100644 index d922418..0000000 --- a/application/ship-simu/templates/de/code/action_login_money_refill.ctp +++ /dev/null @@ -1,47 +0,0 @@ -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 ---"); - -// In-game currencies (if more than default add them here!) -$helper->addSelectSubOption('currencies', "--- Währungen ---"); -$helper->addSelectOption('currency', "{?currency?}"); - -// Raw materials -$helper->addSelectSubOption('raw_materials', "--- Rohstoffe ---"); -$helper->addSelectOption('raw_wood', "Holz"); -$helper->addSelectOption('raw_iron', "Metall"); -$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:"); - $helper->addCaptcha(); -} // END - if - -// Submit button -$helper->addFormGroup('buttons_refill', "Mit Absenden des Formulars wird deine Nachbestellung rechtskräftig!"); -$helper->addInputResetButton("Eingaben löschen"); -$helper->addInputSubmitButton("Nachbestellung verbindlich aufgeben"); -$helper->flushContent(); -?> -
-
- Jetzt dein {?currency?}-Konto aufladen! -
-
- {?money_refill_form?} -
-
diff --git a/application/ship-simu/templates/de/code/action_login_refill.ctp b/application/ship-simu/templates/de/code/action_login_refill.ctp new file mode 100644 index 0000000..b31d356 --- /dev/null +++ b/application/ship-simu/templates/de/code/action_login_refill.ctp @@ -0,0 +1,47 @@ +addFormGroup('refill_form', "Bitte wähle aus, was du nachbestellen willst und gebe die Menge an."); + +// Add sub group +$helper->addInputSelectField('type', "--- Bitte auswählen ---"); + +// In-game currencies (if more than default add them here!) +$helper->addSelectSubOption('currencies', "--- Währungen ---"); +$helper->addSelectOption('currency', "{?currency?}"); + +// Raw materials +$helper->addSelectSubOption('raw_materials', "--- Rohstoffe ---"); +$helper->addSelectOption('raw_wood', "Holz"); +$helper->addSelectOption('raw_iron', "Metall"); +$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:"); + $helper->addCaptcha(); +} // END - if + +// Submit button +$helper->addFormGroup('buttons_refill', "Mit Absenden des Formulars wird deine Nachbestellung rechtskräftig!"); +$helper->addInputResetButton("Eingaben löschen"); +$helper->addInputSubmitButton("Nachbestellung verbindlich aufgeben"); +$helper->flushContent(); +?> +
+
+ Jetzt dein {?currency?}-Konto aufladen! +
+
+ {?refill_form?} +
+