]> git.mxchange.org Git - admin.git/blobdiff - application/admin/templates/de/code/action_admin_login_logout.ctp
Rewritten for updated core
[admin.git] / application / admin / templates / de / code / action_admin_login_logout.ctp
index be157490050c2ed39da5dc445890f3efc9415b12..6ccd24cc0fa1349e162510cc8496ccb5e6d9e789 100644 (file)
@@ -1,21 +1,21 @@
 <?php
 // Get helper instance
-$helper = 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
-$helper->addLinkWithTextById('logout_now_link_text');
+$helperInstance->addLinkWithTextById('logout_now');
 
 // Flush the content
-$helper->flushContent();
+$helperInstance->flushContent();
 
 // Get helper instance
-$helper = 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
-$helper->addLinkWithTextById('return_login_link_text');
+$helperInstance->addLinkWithTextById('return_login');
 
 // Flush the content
-$helper->flushContent();
+$helperInstance->flushContent();
 
 // [EOC]
 ?>
@@ -24,7 +24,7 @@ $helper->flushContent();
                Willst du dich wirklich aus dem <span class="app_name">{?app_full_name?}</span> ausloggen?
        </div>
 
-       <div id="logout_links">
-               {?logout_now_link?} | {?return_login_link?}
+       <div id="logouts">
+               {?logout_now?} | {?return_login?}
        </div>
 </div>