]> git.mxchange.org Git - shipsimu.git/blobdiff - application/blog/templates/de/code/action_login_logout.ctp
Links in all templates reworked, Primera API (see www.primusportal.de for details...
[shipsimu.git] / application / blog / templates / de / code / action_login_logout.ctp
index 5d1dd3b0be0cdae0c6cfb06c23b04a3fad3aebfc..671b44ff51b9cb15899501269e9a39fcd5c773a4 100644 (file)
@@ -1,9 +1,30 @@
+<?php
+// Get helper instance
+$helper = WebLinkHelper::createWebLinkHelper($this, 'logout_now_link', 'index.php?app=blog&amp;page=logout&amp;logout=1');
+
+// Set link text
+$helper->setLinkTextById('logout_now_link_text');
+
+// Flush the content
+$helper->flushContent();
+
+// Get helper instance
+$helper = WebLinkHelper::createWebLinkHelper($this, 'return_login_link', 'index.php?app=blog&amp;page=login_area');
+
+// Set link text
+$helper->setLinkTextById('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">
-               [<a href="$config[base_url]/index.php?app=blog&amp;page=login_area&amp;action=logout&amp;logout=1">Ja</a>] | [<a href="$config[base_url]/index.php?app=blog&amp;page=login_area">Nein</a>]
+               {?logout_now_link?} | {?return_login_link?}
        </div>
 </div>