ToDo manager added (I need it by myself!), all links and form action now dynamic
[shipsimu.git] / application / blog / templates / de / code / action_login_logout.ctp
index 5d345c3c6b7e6649ad6a5f464ddef5b84fb99a39..4dd47d9625b7e7058e423d627a6874e74620beed 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Get helper instance
-$helper = WebLinkHelper::createWebLinkHelper($this, 'logout_now_link', 'index.php?app=blog&amp;page=logout');
+$helper = WebLinkHelper::createWebLinkHelper($this, 'logout_now_link', 'index.php?app={?app_short_name?}&amp;page=logout');
 
 // Set link text
 $helper->addLinkWithTextById('logout_now_link_text');
@@ -9,7 +9,7 @@ $helper->addLinkWithTextById('logout_now_link_text');
 $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->addLinkWithTextById('return_login_link_text');