///////////////////////////////
// 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');
//////////////////////////////////////
// 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');
// Flush the content out to a template variable
$blockInstance->flushContent();
+// Get helper instance
+$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', "");
+$linkInstance->addActionLink('logout', "Ausloggen");
+
+// Flush the content
+$linkInstance->flushContent();
+
// End of all PHP commands
?>
<div id="content_header">
</div>
<div id="logout_link">
- [<a href="$config[base_url]/index.php?app=ship-simu&page=login_area&action=logout"
- title="Aus dem Spiel ausloggen">Ausloggen</a>]
+ {?logout_action_link?}
</div>
</div>