]> git.mxchange.org Git - shipsimu.git/blobdiff - application/admin/templates/de/code/action_admin_status_problem.ctp
All helper are now configurable
[shipsimu.git] / application / admin / templates / de / code / action_admin_status_problem.ctp
index 4c57125810ebca8e9a879a88191341cffe090400..665be0e55473c23ad5506e1fc18a7d117558aa0f 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');
@@ -25,7 +25,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.");