More renamed
[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'));
4
5 // Set link text
6 $helperInstance->addLinkWithTextById('logout_now');
7
8 // Flush the content
9 $helperInstance->flushContent();
10
11 // Get helper instance
12 $helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'return_login'));
13
14 // Set link text
15 $helperInstance->addLinkWithTextById('return_login');
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="logouts">
28                 {?logout_now?} | {?return_login?}
29         </div>
30 </div>