From cebd3ad4db4995ceced05c5f2da9bf6ee06074d4 Mon Sep 17 00:00:00 2001 From: pete Date: Tue, 9 Mar 2010 15:25:21 +0000 Subject: Updated profile page calls to profile_contents. git-svn-id: http://code.elgg.org/elgg/trunk@5331 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/index.php | 4 ++-- mod/profile/views/default/profile/profile_contents/activity.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mod/profile/index.php b/mod/profile/index.php index 8c8d72d24..72adf08ca 100644 --- a/mod/profile/index.php +++ b/mod/profile/index.php @@ -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); diff --git a/mod/profile/views/default/profile/profile_contents/activity.php b/mod/profile/views/default/profile/profile_contents/activity.php index 6cb2c3a7e..c24a210cb 100755 --- a/mod/profile/views/default/profile/profile_contents/activity.php +++ b/mod/profile/views/default/profile/profile_contents/activity.php @@ -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"; } -- cgit v1.2.3