]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Updated profile page calls to profile_contents.
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 9 Mar 2010 15:25:21 +0000 (15:25 +0000)
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 9 Mar 2010 15:25:21 +0000 (15:25 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@5331 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/profile/index.php
mod/profile/views/default/profile/profile_contents/activity.php

index 8c8d72d2436c04e4ad85232b3a4a1fbc6a43d7a1..72adf08cac74a7b20a690d53b955bdcef398d52c 100644 (file)
@@ -23,7 +23,7 @@ if ($user = get_user_by_username($username)) {
        $body = elgg_view('profile/profile_navigation', array("option" => $option,"entity" => $user));
        switch($option){
                case 'activity':
-                       $body .= elgg_view('profile/profile_contents/userdetails', array("entity" => $user));
+                       $body .= elgg_view('profile/profile_contents/details', array("entity" => $user, "full" => true));
                break;
 
                case 'widgets':
@@ -42,7 +42,7 @@ if ($user = get_user_by_username($username)) {
                break;
 
                case 'default':
-                       $body .= elgg_view('profile/profile_contents/userdetails', array("entity" => $user));
+                       $body .= elgg_view('profile/profile_contents/details', array("entity" => $user, "full" => true));
                break;
        }
        //$body .= elgg_view_entity($user,true);
index 6cb2c3a7ecfb0488af1859480693400a35c91d3c..c24a210cb3afea5cf753b0d9e1c4c2b4d284ff5d 100755 (executable)
@@ -12,7 +12,7 @@
        }
        if(is_plugin_enabled('riverdashboard')) {
                // users last 10 activites
-               echo elgg_view('profile/profile_contents/profile_activity', array('entity' => $vars['entity']));
+               echo elgg_view('profile/profile_contents/activity', array('entity' => $vars['entity']));
        } else {
                echo "Riverdashboard not loaded";
        }