]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/templates/de/code/action_ship_simu_login_logout.ctp
Rewritten for updated core
[shipsimu.git] / application / ship-simu / templates / de / code / action_ship_simu_login_logout.ctp
index 998660f8340b5f82c3ace22f2d61cef92fc851a9..f46f1a7aacbdf8da547218412c208d623434eac3 100644 (file)
@@ -1,18 +1,18 @@
 <?php
 // Get helper instance
-$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'logout_now_link', 'index.php?app={?app_short_name?}&amp;page=logout'));
+$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'logout_now', 'index.php?app={?app_short_name?}&amp;page=logout'));
 
 // Set link text
-$helperInstance->addLinkWithTextById('logout_now_link_text');
+$helperInstance->addLinkWithTextById('logout_now');
 
 // Flush the content
 $helperInstance->flushContent();
 
 // Get helper instance
-$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'return_login_link', 'index.php?app={?app_short_name?}&amp;page=login_area'));
+$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'return_login', 'index.php?app={?app_short_name?}&amp;page=login_area'));
 
 // Set link text
-$helperInstance->addLinkWithTextById('return_login_link_text');
+$helperInstance->addLinkWithTextById('return_login');
 
 // Flush the content
 $helperInstance->flushContent();
@@ -24,7 +24,7 @@ $helperInstance->flushContent();
                Willst du dich wirklich aus dem Spiel ausloggen?
        </div>
 
-       <div id="logout_links">
-               {?logout_now_link?} | {?return_login_link?}
+       <div id="logouts">
+               {?logout_now?} | {?return_login?}
        </div>
 </div>