Links in all templates reworked, Primera API (see www.primusportal.de for details...
[shipsimu.git] / application / ship-simu / templates / de / code / block_persona_data.ctp
1 <?php
2 // Get a helper instance for the profile link (and maybe later more!)
3 $helperInstance = WebLinkHelper::createWebLinkHelper($this, 'profile_link', 'index.php?app=ship-simu&amp;page=login_area');
4
5 // Prefetch user instance
6 $helperInstance->prefetchValueInstance('user');
7
8 // Flush the content out
9 $helperInstance->flushContent();
10
11 // End of PHP commands
12 ?>
13 <div class="user_name_div">
14         Spielername: <span class="user_name">{?block_username?}</span>
15 </div>
16 <div class="user_status_div">
17         Spielerstatus: <span class="user_status">{?block_user_status?}</span>
18 </div>
19 <div class="user_profile_div">
20         {?profile_link?}
21 </div>
22 <div class="user_registered_div">
23         Angemeldet seit: <span class="registered">{?block_registered?}</span>
24 </div>