]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/templates/de/code/action_login_logout.ctp
Another wrong name fixed
[shipsimu.git] / application / ship-simu / templates / de / code / action_login_logout.ctp
index 459d305919b09d248d28db371d065b5625b648ac..8e430022a3d371be6b8db277292b36dc03154a70 100644 (file)
@@ -1,18 +1,18 @@
 <?php
 // Get helper instance
-$helper = WebLinkHelper::createWebLinkHelper($this, 'logout_now_link', 'index.php?app=ship-simu&amp;page=logout&amp;logout=1');
+$helper = WebLinkHelper::createWebLinkHelper($this, 'logout_now_link', 'index.php?app={?app_short_name?}&amp;page=logout');
 
 // Set link text
-$helper->setLinkTextById('logout_now_link_text');
+$helper->addLinkWithTextById('logout_now_link_text');
 
 // Flush the content
 $helper->flushContent();
 
 // Get helper instance
-$helper = WebLinkHelper::createWebLinkHelper($this, 'return_login_link', 'index.php?app=ship-simu&amp;page=login_area');
+$helper = WebLinkHelper::createWebLinkHelper($this, 'return_login_link', 'index.php?app={?app_short_name?}&amp;page=login_area');
 
 // Set link text
-$helper->setLinkTextById('return_login_link_text');
+$helper->addLinkWithTextById('return_login_link_text');
 
 // Flush the content
 $helper->flushContent();