X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fship-simu%2Ftemplates%2Fde%2Fcode%2Flogin_main.ctp;fp=application%2Fship-simu%2Ftemplates%2Fde%2Fcode%2Flogin_main.ctp;h=e8b0044f1db2669d0d6bce6351226024dbccb557;hb=8b1e0797b3b27be89e687fb9d194f9ae49010ae3;hp=74c9e747b2380f25e8a18b4af754170d658964e3;hpb=d0fec7e5d36612e80b0cf5cbc9af08909664bb0c;p=shipsimu.git diff --git a/application/ship-simu/templates/de/code/login_main.ctp b/application/ship-simu/templates/de/code/login_main.ctp index 74c9e74..e8b0044 100644 --- a/application/ship-simu/templates/de/code/login_main.ctp +++ b/application/ship-simu/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'); @@ -27,7 +27,7 @@ $blockInstance->flushContent(); ////////////////////////////////////// // Get a new instance for personal data -$blockInstance = WebBlockHelper::createWebBlockHelper($this, 'company_data'); +$blockInstance = ObjectFactory::createObjectByConfiguredName('web_block_helper', array($this, 'company_data')); // Set the data source instance $blockInstance->prefetchValueInstance('company', 'user'); @@ -63,7 +63,7 @@ if ($blockInstance->getValueInstance()->ifUserIsFounder()) { $blockInstance->flushContent(); // Get helper instance -$linkInstance = WebLinkHelper::createWebLinkHelper($this, 'logout_action_link', 'index.php?app={?app_short_name?}&page=login_area'); +$linkInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'logout_action_link', 'index.php?app={?app_short_name?}&page=login_area')); // Add action $linkInstance->addLinkGroup('logout', "");