X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fadmin%2Ftemplates%2Fde%2Fcode%2Flogin_main.ctp;h=ab8fc97501a37f7f93039d83172e5472c84b6243;hb=8b1e0797b3b27be89e687fb9d194f9ae49010ae3;hp=edfdab6547c59ec1e9b23b94100350559c0ec66a;hpb=d0fec7e5d36612e80b0cf5cbc9af08909664bb0c;p=shipsimu.git diff --git a/application/admin/templates/de/code/login_main.ctp b/application/admin/templates/de/code/login_main.ctp index edfdab6..ab8fc97 100644 --- a/application/admin/templates/de/code/login_main.ctp +++ b/application/admin/templates/de/code/login_main.ctp @@ -4,7 +4,7 @@ /////////////////////////////// // Get a new instance for personal data -$blockInstance = WebBlockHelper::createWebBlockHelper($this, 'persona_data'); +$blockInstance = ObjectFactory::createObjectByConfiguredName('web_block_helper', array($this, 'persona_data')); // Set the data source instance which must exist in registry $blockInstance->prefetchValueInstance('user'); @@ -23,7 +23,7 @@ if ($blockInstance->ifIncludeRegistrationStamp()) { $blockInstance->flushContent(); // Get helper instance -$helper = WebLinkHelper::createWebLinkHelper($this, 'logout_action_link', 'index.php?app={?app_short_name?}&page=login_area'); +$helper = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'logout_action_link', 'index.php?app={?app_short_name?}&page=login_area')); // Add action $helper->addActionLink('logout', "Ausloggen");