More renamed
[shipsimu.git] / application / ship-simu / templates / de / code / block_persona_data.ctp
index def6835801782bef41271f64e3d33addf87ab030..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', 'index.php?app={?app_short_name?}&amp;page=login_area');
+$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'profile'));
 
 // Prefetch user instance
 $helperInstance->prefetchValueInstance('user');
@@ -8,17 +8,20 @@ $helperInstance->prefetchValueInstance('user');
 // Flush the content out
 $helperInstance->flushContent();
 
-// End of PHP commands
+// [EOC]
 ?>
-<div class="user_name_div">
+<div id="user_name_div" class="block_cell">
        Spielername: <span id="user_name">{?block_username?}</span>
 </div>
-<div class="user_status_div">
+<div id="user_status_div" class="block_cell">
        Spielerstatus: <span id="user_status">{?block_user_status?}</span>
 </div>
-<div class="user_profile_div">
-       {?profile_link?}
+<div id="user_points_div" class="block_cell">
+       {?currency?}: <span id="user_points">{?block_points?}</span>
 </div>
-<div class="user_registered_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>