]> git.mxchange.org Git - city.git/blob - application/city/templates/code/action_city_login_logout.ctp
970f4391826d97c1877c12cb26b1cc2a7811e0ed
[city.git] / application / city / templates / code / action_city_login_logout.ctp
1 <?php
2 // Import framework stuff
3 use Org\Mxchange\CoreFramework\Factory\ObjectFactory;
4
5 // Get helper instance
6 $helperInstance = ObjectFactory::createObjectByConfiguredName('html_link_helper_class', array($this, 'logout_now'));
7
8 // Set link text
9 $helperInstance->addLinkWithTextById('logout_now');
10
11 // Flush the content
12 $helperInstance->flushContent();
13
14 // Get helper instance
15 $helperInstance = ObjectFactory::createObjectByConfiguredName('html_link_helper_class', array($this, 'return_login'));
16
17 // Set link text
18 $helperInstance->addLinkWithTextById('return_login');
19
20 // Flush the content
21 $helperInstance->flushContent();
22
23 // [EOC]
24 ?>
25 <div id="logout_box">
26         <div id="logout_header">
27                 Willst du dich wirklich aus dem Spiel ausloggen?
28         </div>
29
30         <div id="logouts">
31                 {?logout_now?} | {?return_login?}
32         </div>
33 </div>