998660f8340b5f82c3ace22f2d61cef92fc851a9
[shipsimu.git] / application / ship-simu / templates / de / code / action_ship_simu_login_logout.ctp
1 <?php
2 // Get helper instance
3 $helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'logout_now_link', 'index.php?app={?app_short_name?}&amp;page=logout'));
4
5 // Set link text
6 $helperInstance->addLinkWithTextById('logout_now_link_text');
7
8 // Flush the content
9 $helperInstance->flushContent();
10
11 // Get helper instance
12 $helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'return_login_link', 'index.php?app={?app_short_name?}&amp;page=login_area'));
13
14 // Set link text
15 $helperInstance->addLinkWithTextById('return_login_link_text');
16
17 // Flush the content
18 $helperInstance->flushContent();
19
20 // [EOC]
21 ?>
22 <div id="logout_box">
23         <div id="logout_header">
24                 Willst du dich wirklich aus dem Spiel ausloggen?
25         </div>
26
27         <div id="logout_links">
28                 {?logout_now_link?} | {?return_login_link?}
29         </div>
30 </div>