]> git.mxchange.org Git - admin.git/blobdiff - application/admin/templates/de/code/block_persona_data.ctp
Restructured
[admin.git] / application / admin / templates / de / code / block_persona_data.ctp
diff --git a/application/admin/templates/de/code/block_persona_data.ctp b/application/admin/templates/de/code/block_persona_data.ctp
new file mode 100644 (file)
index 0000000..36a620b
--- /dev/null
@@ -0,0 +1,24 @@
+<?php
+// Get a helper instance for the profile link (and maybe later more!)
+$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($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();
+
+// [EOC]
+?>
+<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>