]> git.mxchange.org Git - shipsimu.git/blobdiff - application/shoutbox/templates/de/code/block_persona_data.ctp
Shoutbox stub added (will be moved out later on)
[shipsimu.git] / application / shoutbox / templates / de / code / block_persona_data.ctp
diff --git a/application/shoutbox/templates/de/code/block_persona_data.ctp b/application/shoutbox/templates/de/code/block_persona_data.ctp
new file mode 100644 (file)
index 0000000..e92df8a
--- /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={?app_short_name?}&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>