// CFG: LOGIN-DEFAULT-ACTION
$cfg->setConfigEntry('login_default_action', "welcome");
+// CFG: LOGIN-AREA-LOGOUT-ACTION
+$cfg->setConfigEntry('login_area_logout_action', "logout");
+
+// CFG: LOGIN-AREA-PROFILE-ACTION
+$cfg->setConfigEntry('login_area_profile_action', "profile");
+
+// CFG: LOGIN-AREA-COMPANY-ACTION
+$cfg->setConfigEntry('login_area_company_action', "company");
+
// CFG: NEWS-READER-HOME-CLASS
$cfg->setConfigEntry('news_reader_home_class', "DefaultNewsReader");
<?php
// Get a link helper instance
-$linkInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'companys', 'index.php?app={?app_short_name?}&page=login_area'));
+$linkInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'companys'));
// Prefetch the user data
$linkInstance->prefetchValueInstance('user');
$helperInstance->flushContent();
// Get link helper for profile link
-$linkInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'shipsimu_profile', 'index.php?app={?app_short_name?}&page=login_area'));
+$linkInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'shipsimu_profile');
// Add action
$linkInstance->addActionLinkById('profile', 'profile');
$helperInstance->flushContent();
// Get link helper for profile link
-$linkInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'shipsimu_profile', 'index.php?app={?app_short_name?}&page=login_area'));
+$linkInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'shipsimu_profile'));
// Add action
$linkInstance->addActionLinkById('profile', 'profile');
<?php
// Get helper instance
-$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'logout_now', 'index.php?app={?app_short_name?}&page=logout'));
+$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'logout_now'));
// Set link text
$helperInstance->addLinkWithTextById('logout_now');
$helperInstance->flushContent();
// Get helper instance
-$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'return_login', 'index.php?app={?app_short_name?}&page=login_area'));
+$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'return_login'));
// Set link text
$helperInstance->addLinkWithTextById('return_login');
<?php
// Get helper instance
-$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'company', 'index.php?app={?app_short_name?}&page=login_area'));
+$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'company'));
// Set link text
$helperInstance->addActionLinkById('company', 'company');
<?php
// Get a helper instance for the profile link (and maybe later more!)
-$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'profile', 'index.php?app={?app_short_name?}&page=login_area'));
+$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'profile'));
// Prefetch user instance
$helperInstance->prefetchValueInstance('user');
<?php
// Get helper instance
-$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'direct_login', 'index.php?app={?app_short_name?}&page=login'));
+$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'direct_login'));
// Set link text
$helperInstance->addLinkWithTextById('direct_login');
<?php
// Get helper instance
-$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'login_retry', 'index.php?app={?app_short_name?}&page=login'));
+$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'login_retry'));
// Set link text
$helperInstance->addLinkWithTextById('login_retry');
$blockInstance->flushContent();
// Get helper instance
-$linkInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'logout_action', 'index.php?app={?app_short_name?}&page=login_area'));
+$linkInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'logout'));
// Add action
$linkInstance->addActionLinkById('logout', 'logout');
</div>
<div id="logout">
- {?logout_action?}
+ {?logout?}
</div>
</div>
<?php
// Get helper instance
-$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'relogin', 'index.php?app={?app_short_name?}&page=login'));
+$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'relogin'));
// Set link text
$helperInstance->addLinkWithTextById('relogin');