X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fship-simu%2Ftemplates%2Fde%2Fcode%2Flogin_form.ctp;h=560b79fdb24778ac15df2865179894b41a060175;hb=7218cb584f42412c13d8ae39b89c82a584a85b31;hp=86f81d35824ef6c9cdbdc6d12a14a80d325a9360;hpb=bbf48d46cb9063a4d2b78c106747147712f5474e;p=shipsimu.git diff --git a/application/ship-simu/templates/de/code/login_form.ctp b/application/ship-simu/templates/de/code/login_form.ctp index 86f81d3..560b79f 100644 --- a/application/ship-simu/templates/de/code/login_form.ctp +++ b/application/ship-simu/templates/de/code/login_form.ctp @@ -2,7 +2,7 @@ // Get helper instance for web forms. This will add the opening form-tag to // the helper's render cache which is simply a small variable in the class // BaseHelper. -$helperInstance = WebFormHelper::createWebFormHelper($this, 'shipsimu_user_login'); +$helperInstance = ObjectFactory::createObjectByConfiguredName('web_form_helper', array($this, 'shipsimu_user_login')); // Formular deaktiviert? if ($helperInstance->ifLoginIsEnabled()) { @@ -33,7 +33,7 @@ if ($helperInstance->ifLoginIsEnabled()) { // CAPTCHA enabled? if ($helperInstance->ifFormSecuredWithCaptcha()) { - $helperInstance->addFormGroup('captcha_user', "Unser Benuzter-Login ist durch ein CAPTCHA geschützt. Bitte wiederhole den angezeigten Code, damit du dich einloggen kannst."); + $helperInstance->addFormGroup('captcha_user', "Das Benutzer-Login ist durch ein CAPTCHA geschützt. Bitte wiederhole den angezeigten Code, damit du dich einloggen kannst."); $helperInstance->addCaptcha(); } // END - if @@ -53,7 +53,7 @@ $helperInstance->flushContent(); // Ist Gastlogin erlaubt? if ($helperInstance->ifGuestLoginAllowed()) { // Neue Helper-Instanz holen - $helperInstance = WebFormHelper::createWebFormHelper($this, 'shipsimu_guest_login'); + $helperInstance = ObjectFactory::createObjectByConfiguredName('web_form_helper', array($this, 'shipsimu_guest_login')); $helperInstance->addInputHiddenConfiguredField('user', 'guest_login'); $helperInstance->addInputHiddenConfiguredField('passwd', 'guest_login'); @@ -70,7 +70,7 @@ if ($helperInstance->ifGuestLoginAllowed()) { } // Get helper instance -$helperInstance = WebLinkHelper::createWebLinkHelper($this, 'register_login_form_link', 'index.php?app={?app_short_name?}&page=register'); +$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'register_login_form_link', 'index.php?app={?app_short_name?}&page=register')); // Set link text $helperInstance->addLinkWithTextById('register_login_form_link_text'); @@ -78,6 +78,7 @@ $helperInstance->addLinkWithTextById('register_login_form_link_text'); // Flush the content $helperInstance->flushContent(); +// [EOC] ?>
Einloggen zu {?app_full_name?}