aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-09 15:25:21 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-09 15:25:21 +0000
commitcebd3ad4db4995ceced05c5f2da9bf6ee06074d4 (patch)
tree3b5b8786d8444aa88fb465fc9140f3f441af0ad8 /mod
parent6ffdc0db341bdcb1f9d16a1d370b38d4c3087391 (diff)
downloadelgg-cebd3ad4db4995ceced05c5f2da9bf6ee06074d4.tar.gz
elgg-cebd3ad4db4995ceced05c5f2da9bf6ee06074d4.tar.bz2
Updated profile page calls to profile_contents.
git-svn-id: http://code.elgg.org/elgg/trunk@5331 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/profile/index.php4
-rwxr-xr-xmod/profile/views/default/profile/profile_contents/activity.php2
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";
}