aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-04 21:05:54 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-04 21:05:54 +0000
commit7433b07dac28a87a8d22bd0dd5fa78effe333255 (patch)
tree76040c3b6de7f82688d9025cf2af88f19dbd804e /mod
parentb2c08a52541a12050ae12bac2dbc8e1f0563c2b0 (diff)
downloadelgg-7433b07dac28a87a8d22bd0dd5fa78effe333255.tar.gz
elgg-7433b07dac28a87a8d22bd0dd5fa78effe333255.tar.bz2
welcome to the new media view - it is being used in the new latest comments module
git-svn-id: http://code.elgg.org/elgg/trunk@7530 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/blog/views/default/blog/sidebar_menu.php2
-rw-r--r--mod/file/friends.php2
-rw-r--r--mod/file/index.php2
-rw-r--r--mod/file/world.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/mod/blog/views/default/blog/sidebar_menu.php b/mod/blog/views/default/blog/sidebar_menu.php
index d6bd3e086..10798d7a4 100644
--- a/mod/blog/views/default/blog/sidebar_menu.php
+++ b/mod/blog/views/default/blog/sidebar_menu.php
@@ -30,7 +30,7 @@ echo elgg_view("blogs/sidebar", array("object_type" => 'blog'));
// fetch & display latest comments on all blog posts
$comments = get_annotations(0, "object", "blog", "generic_comment", "", 0, 4, 0, "desc");
$title = elgg_echo('generic_comments:latest');
-$body = elgg_view('annotation/latest_comments', array('comments' => $comments));
+$body = elgg_view('comments/latest', array('comments' => $comments));
echo elgg_view('layout_elements/module', array('title' => $title, 'body' => $body));
// only show archives for users or groups.
diff --git a/mod/file/friends.php b/mod/file/friends.php
index e7a17adab..44532dfba 100644
--- a/mod/file/friends.php
+++ b/mod/file/friends.php
@@ -31,7 +31,7 @@
//get the latest comments on all files
$comments = get_annotations(0, "object", "file", "generic_comment", "", 0, 4, 0, "desc");
- $area3 = elgg_view('annotation/latest_comments', array('comments' => $comments));
+ $area3 = elgg_view('comments/latest', array('comments' => $comments));
$content = "<div class='files'>".$area1.$area2."</div>";
$params = array(
diff --git a/mod/file/index.php b/mod/file/index.php
index 06a5979d1..ae2353724 100644
--- a/mod/file/index.php
+++ b/mod/file/index.php
@@ -37,7 +37,7 @@
//get the latest comments on the current users files
$comments = get_annotations(0, "object", "file", "generic_comment", "", 0, 4, 0, "desc",0,0,elgg_get_page_owner_guid());
- $area3 = elgg_view('annotation/latest_comments', array('comments' => $comments));
+ $area3 = elgg_view('comments/latest', array('comments' => $comments));
$content = "<div class='files'>".$area1.$area2."</div>";
diff --git a/mod/file/world.php b/mod/file/world.php
index bd6c2b859..6ac4ba38a 100644
--- a/mod/file/world.php
+++ b/mod/file/world.php
@@ -28,7 +28,7 @@
//get the latest comments on all files
$comments = get_annotations(0, "object", "file", "generic_comment", "", 0, 4, 0, "desc");
- $area3 = elgg_view('annotation/latest_comments', array('comments' => $comments));
+ $area3 = elgg_view('comments/latest', array('comments' => $comments));
$content = "<div class='files'>".$area1.$area2."</div>";
$params = array(