From 2f9b58a8ee6f4a303979d30ac3931a98768266fe Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 19 Jun 2008 18:36:29 +0000 Subject: Fixes #50 git-svn-id: https://code.elgg.org/elgg/trunk@1005 36083f99-b078-4883-b0ff-0f9b5a30f544 --- .../views/default/widgets/river_widget_friends/edit.php | 12 +++++++++++- .../views/default/widgets/river_widget_friends/view.php | 6 +++++- 2 files changed, 16 insertions(+), 2 deletions(-) (limited to 'mod/river/views/default/widgets/river_widget_friends') diff --git a/mod/river/views/default/widgets/river_widget_friends/edit.php b/mod/river/views/default/widgets/river_widget_friends/edit.php index 77d0594b6..9d89c56dd 100644 --- a/mod/river/views/default/widgets/river_widget_friends/edit.php +++ b/mod/river/views/default/widgets/river_widget_friends/edit.php @@ -8,4 +8,14 @@ * @copyright Curverider Ltd 2008 * @link http://elgg.com/ */ -?> \ No newline at end of file +?> +

+ + + +

\ No newline at end of file diff --git a/mod/river/views/default/widgets/river_widget_friends/view.php b/mod/river/views/default/widgets/river_widget_friends/view.php index 5b0b3c137..df96fcd76 100644 --- a/mod/river/views/default/widgets/river_widget_friends/view.php +++ b/mod/river/views/default/widgets/river_widget_friends/view.php @@ -10,8 +10,12 @@ */ $owner = page_owner_entity(); + $limit = 8; + + if ($vars['entity']->limit) + $limit = $vars['entity']->limit; ?>

name . "'s") ?>

guid); + echo elgg_view_friend_river($owner->guid, $limit); ?> \ No newline at end of file -- cgit v1.2.3