X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fshipsimu%2Ftemplates%2Fde%2Fcode%2Fgovernment_failed_main.ctp;fp=application%2Fshipsimu%2Ftemplates%2Fde%2Fcode%2Fgovernment_failed_main.ctp;h=6411bfb350390054307b8b60f4f19c4ce92fcd9f;hp=ca56ceae08f2d392aa85329bf3f432bc0bff1c08;hb=abd323ef4e8570575c3788c4edb47b478e94dd58;hpb=4247dc3b1a2a1654b6eaf87f720ab976e7a9503e diff --git a/application/shipsimu/templates/de/code/government_failed_main.ctp b/application/shipsimu/templates/de/code/government_failed_main.ctp index ca56cea..6411bfb 100644 --- a/application/shipsimu/templates/de/code/government_failed_main.ctp +++ b/application/shipsimu/templates/de/code/government_failed_main.ctp @@ -4,7 +4,7 @@ /////////////////////////////// // Get a new instance for personal data -$blockInstance = ObjectFactory::createObjectByConfiguredName('html_block_helper', array($this, 'persona_data')); +$blockInstance = ObjectFactory::createObjectByConfiguredName('html_block_helper_class', 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 = ObjectFactory::createObjectByConfiguredName('html_block_helper', array($this, 'company_data')); +$blockInstance = ObjectFactory::createObjectByConfiguredName('html_block_helper_class', 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 = ObjectFactory::createObjectByConfiguredName('html_link_helper', array($this, 'logout')); +$linkInstance = ObjectFactory::createObjectByConfiguredName('html_link_helper_class', array($this, 'logout')); // Add action $linkInstance->addActionLinkById('logout', 'logout');