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
1 <?php
2 // Get helper instance
3 $helper = WebLinkHelper::createWebLinkHelper($this, 'logout_now_link', 'index.php?app={?app_short_name?}&amp;page=logout');
4
5 // Set link text
6 $helper->addLinkWithTextById('logout_now_link_text');
7
8 // Flush the content
9 $helper->flushContent();
10
11 // Get helper instance
12 $helper = WebLinkHelper::createWebLinkHelper($this, 'return_login_link', 'index.php?app={?app_short_name?}&amp;page=login_area');
13
14 // Set link text
15 $helper->addLinkWithTextById('return_login_link_text');
16
17 // Flush the content
18 $helper->flushContent();
19
20 // [EOF]
21 ?>
22 <div id="logout_box">
23         <div id="logout_header">
24                 Willst du dich wirklich aus dem Blog aussloggen?
25         </div>
26
27         <div id="logout_links">
28                 {?logout_now_link?} | {?return_login_link?}
29         </div>
30 </div>