]> git.mxchange.org Git - shipsimu.git/blobdiff - application/blog/templates/de/code/action_login_logout.ctp
Another wrong name fixed
[shipsimu.git] / application / blog / templates / de / code / action_login_logout.ctp
index 671b44ff51b9cb15899501269e9a39fcd5c773a4..4dd47d9625b7e7058e423d627a6874e74620beed 100644 (file)
@@ -1,18 +1,18 @@
 <?php
 // Get helper instance
-$helper = WebLinkHelper::createWebLinkHelper($this, 'logout_now_link', 'index.php?app=blog&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=blog&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();