]> git.mxchange.org Git - shipsimu.git/blobdiff - application/admin/templates/de/code/login_main.ctp
All helper are now configurable
[shipsimu.git] / application / admin / templates / de / code / login_main.ctp
index edfdab6547c59ec1e9b23b94100350559c0ec66a..ab8fc97501a37f7f93039d83172e5472c84b6243 100644 (file)
@@ -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");