]> git.mxchange.org Git - admin.git/blobdiff - application/admin/templates/de/code/action_admin_login_logout.ctp
Restructured
[admin.git] / application / admin / templates / de / code / action_admin_login_logout.ctp
diff --git a/application/admin/templates/de/code/action_admin_login_logout.ctp b/application/admin/templates/de/code/action_admin_login_logout.ctp
new file mode 100644 (file)
index 0000000..be15749
--- /dev/null
@@ -0,0 +1,30 @@
+<?php
+// Get helper instance
+$helper = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'logout_now_link', 'index.php?app={?app_short_name?}&amp;page=logout'));
+
+// Set link text
+$helper->addLinkWithTextById('logout_now_link_text');
+
+// Flush the content
+$helper->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'));
+
+// Set link text
+$helper->addLinkWithTextById('return_login_link_text');
+
+// Flush the content
+$helper->flushContent();
+
+// [EOC]
+?>
+<div id="logout_box">
+       <div id="logout_header">
+               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>
+</div>