]> git.mxchange.org Git - shipsimu.git/blobdiff - application/shoutbox/templates/de/code/action_login_logout.ctp
Shoutbox stub added (will be moved out later on)
[shipsimu.git] / application / shoutbox / templates / de / code / action_login_logout.ctp
diff --git a/application/shoutbox/templates/de/code/action_login_logout.ctp b/application/shoutbox/templates/de/code/action_login_logout.ctp
new file mode 100644 (file)
index 0000000..4dd47d9
--- /dev/null
@@ -0,0 +1,30 @@
+<?php
+// Get helper instance
+$helper = WebLinkHelper::createWebLinkHelper($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 = WebLinkHelper::createWebLinkHelper($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();
+
+// [EOF]
+?>
+<div id="logout_box">
+       <div id="logout_header">
+               Willst du dich wirklich aus dem Blog aussloggen?
+       </div>
+
+       <div id="logout_links">
+               {?logout_now_link?} | {?return_login_link?}
+       </div>
+</div>