]> git.mxchange.org Git - shipsimu.git/blobdiff - application/blog/templates/de/code/block_persona_data.ctp
Nameless blogging software added (similar structure to ship-simu, unfinished as well)
[shipsimu.git] / application / blog / templates / de / code / block_persona_data.ctp
diff --git a/application/blog/templates/de/code/block_persona_data.ctp b/application/blog/templates/de/code/block_persona_data.ctp
new file mode 100644 (file)
index 0000000..cd203e8
--- /dev/null
@@ -0,0 +1,24 @@
+<?php
+// Get a helper instance for the profile link (and maybe later more!)
+$helperInstance = WebLinkHelper::createWebLinkHelper($this, 'profile_link', 'index.php?app=blog&amp;page=login_area');
+
+// Prefetch user instance
+$helperInstance->prefetchValueInstance('user');
+
+// Flush the content out
+//$helperInstance->flushContent();
+
+// End of PHP commands
+?>
+<div class="user_name_div">
+       Nickname: <span class="user_name">{?block_username?}</span>
+</div>
+<div class="user_status_div">
+       Account-Status: <span class="user_status">{?block_user_status?}</span>
+</div>
+<div class="user_profile_div">
+       {?profile_link?}
+</div>
+<div class="user_registered_div">
+       Angemeldet seit: <span class="registered">{?block_registered?}</span>
+</div>