NPE catched, double->single converted:
[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 = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'profile'));
4
5 // Prefetch user instance
6 $helperInstance->prefetchValueInstance('user');
7
8 // Flush the content out
9 $helperInstance->flushContent();
10
11 // [EOC]
12 ?>
13 <div class="user_name_div">
14         Spielername: <span id="user_name">{?block_username?}</span>
15 </div>
16 <div class="user_status_div">
17         Spielerstatus: <span id="user_status">{?block_user_status?}</span>
18 </div>
19 <div class="user_status_div">
20         {?currency?}: <span id="user_points">{?block_points?}</span>
21 </div>
22 <div class="user_profile_div">
23         {?profile?}
24 </div>
25 <div class="user_registered_div">
26         Angemeldet seit: <span id="registered">{?block_registered?}</span>
27 </div>