]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/templates/de/code/action_ship_simu_login_status_problem.ctp
All helper are now configurable
[shipsimu.git] / application / ship-simu / templates / de / code / action_ship_simu_login_status_problem.ctp
index a87303c47f88da0cc4c636cf3cff202da00cb563..f3db301fdb13a4a38aa6d137bf989196c2299d19 100644 (file)
@@ -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, "resend_link");
+$helperInstance = ObjectFactory::createObjectByConfiguredName('web_form_helper', array($this, "resend_link"));
 
 // Pre-fetch field data with a given registry key
 $helperInstance->prefetchValueInstance('user');
@@ -31,7 +31,7 @@ $helperInstance->flushContent();
 
 if ($helperInstance->ifUserAccountUnconfirmed()) {
        // Build the form for confirmation
-       $helperInstance = WebFormHelper::createWebFormHelper($this, "confirm_code");
+       $helperInstance = ObjectFactory::createObjectByConfiguredName('web_form_helper', array($this, "confirm_code"));
 
        // Add code box
        $helperInstance->addFormGroup('code', "Bitte gebe hier den Bestätigungscode aus der Willkommensemail ein. Solltest du diese nicht erhalten haben, kannst du dir diesen jetzt zusenden lassen.");