]> git.mxchange.org Git - shipsimu.git/blobdiff - application/shoutbox/templates/de/code/action_shoutbox_login_status_problem.ctp
All helper are now configurable
[shipsimu.git] / application / shoutbox / templates / de / code / action_shoutbox_login_status_problem.ctp
index 88a47b1523350a460df692f714a8fc7a8247da3b..7eaa4479b4a6fcd41ff5d04e403ff5499b6c71c6 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.
-$helper = WebFormHelper::createWebFormHelper($this, "resend_link");
+$helper = ObjectFactory::createObjectByConfiguredName('web_form_helper', array($this, "resend_link"));
 
 // Pre-fetch field data with a given registry key
 $helper->prefetchValueInstance('user');
@@ -31,7 +31,7 @@ $helper->flushContent();
 
 if ($helper->ifUserAccountUnconfirmed()) {
        // Build the form for confirmation
-       $helper = WebFormHelper::createWebFormHelper($this, "confirm_code");
+       $helper = ObjectFactory::createObjectByConfiguredName('web_form_helper', array($this, "confirm_code"));
 
        // Add code box
        $helper->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.");