More renamed
[shipsimu.git] / application / ship-simu / templates / de / code / block_persona_data.ctp
index 02a84d9dd5229c9d14137d6e85ff0f8ee204e46e..bff6bfafb29668019b68b906515ba610e53f967e 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Get a helper instance for the profile link (and maybe later more!)
-$helperInstance = WebLinkHelper::createWebLinkHelper($this, 'profile_link');
+$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'profile'));
 
 // Prefetch user instance
 $helperInstance->prefetchValueInstance('user');
@@ -8,14 +8,20 @@ $helperInstance->prefetchValueInstance('user');
 // Flush the content out
 $helperInstance->flushContent();
 
-// End of PHP commands
+// [EOC]
 ?>
-<div class="gamer_name_div">
-       Spielername: <span class="gamer_name">{?block_username?}</span>
+<div id="user_name_div" class="block_cell">
+       Spielername: <span id="user_name">{?block_username?}</span>
 </div>
-<div class="gamer_profile_div">
-       {?profile_link?}
+<div id="user_status_div" class="block_cell">
+       Spielerstatus: <span id="user_status">{?block_user_status?}</span>
 </div>
-<div class="gamer_registered_div">
-       Angemeldet seit: <span class="registered">{?block_registered?}</span>
+<div id="user_points_div" class="block_cell">
+       {?currency?}: <span id="user_points">{?block_points?}</span>
+</div>
+<div id="user_profile_div" class="block_cell">
+       {?profile?}
+</div>
+<div id="user_registered_div" class="block_cell">
+       Angemeldet seit: <span id="registered">{?block_registered?}</span>
 </div>