]> git.mxchange.org Git - shipsimu.git/blobdiff - application/admin/templates/de/code/login_form.ctp
EOF->EOC in code templates replaced, training form extended
[shipsimu.git] / application / admin / templates / de / code / login_form.ctp
index afdf7b08b57d742b2988cc681b2443cccdf18596..b73988220bd9be2a70c4fe9d85f13c34df063fbf 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, 'admin_user_login');
+$helper = ObjectFactory::createObjectByConfiguredName('web_form_helper', array($this, 'admin_user_login'));
 
 // Formular deaktiviert?
 if ($helper->ifLoginIsEnabled()) {
@@ -51,7 +51,7 @@ if ($helper->ifLoginIsEnabled()) {
 $helper->flushContent();
 
 // Get helper instance
-$helper = WebLinkHelper::createWebLinkHelper($this, 'register_login_form_link', 'index.php?app={?app_short_name?}&page=register');
+$helper = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'register_login_form_link', 'index.php?app={?app_short_name?}&page=register'));
 
 // Set link text
 $helper->addLinkWithTextById('register_login_form_link_text');
@@ -59,6 +59,7 @@ $helper->addLinkWithTextById('register_login_form_link_text');
 // Flush the content
 $helper->flushContent();
 
+// [EOC]
 ?>
 <div id="content_header">
        Einloggen zu <span class="app_name">{?app_full_name?}</span>