From 4bf65154f0828f6d3d4161945fa49565cb17f9b9 Mon Sep 17 00:00:00 2001 From: cash Date: Mon, 2 Mar 2009 23:03:09 +0000 Subject: updated to Elgg 1.5 - still need to work on html formatting and images --- views/default/widgets/feed_reader/view.php | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'views/default/widgets/feed_reader/view.php') diff --git a/views/default/widgets/feed_reader/view.php b/views/default/widgets/feed_reader/view.php index a4611772e..a069a5a1f 100644 --- a/views/default/widgets/feed_reader/view.php +++ b/views/default/widgets/feed_reader/view.php @@ -1,5 +1,5 @@ +
get_item_quantity(); - if (!$num_posts_in_feed) - echo 'Cannot find feed. Check the feed url.'; - + + // only display errors to profile owner + if (get_loggedin_userid() == page_owner()) + { + if (!$num_posts_in_feed) + echo 'Cannot find feed. Check the feed url.'; + } ?>

get_title(); ?>

@@ -49,7 +53,9 @@ ' . elgg_echo('simplepie:notset') . '

'; + + if (get_loggedin_userid() == page_owner()) + echo '

' . elgg_echo('simplepie:notset') . '

'; } ?> +
-- cgit v1.2.3