]> git.mxchange.org Git - shipsimu.git/blobdiff - application/admin/templates/de/code/action_admin_status_problem.ctp
EOF->EOC in code templates replaced, training form extended
[shipsimu.git] / application / admin / templates / de / code / action_admin_status_problem.ctp
index 4c57125810ebca8e9a879a88191341cffe090400..f033c5aeff509507d656ac8afd07eee85acfd47b 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.");
@@ -40,6 +40,8 @@ if ($helper->ifUserAccountUnconfirmed()) {
        // Flush content and automatically close the form
        $helper->flushContent();
 } // END - if
+
+// [EOC]
 ?>
 <div id="content_header">
        Problem mit deinem Account gefunden: