diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-19 12:49:29 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-19 12:49:29 +0000 |
commit | 9026d48d405ba43dc6218ecfe34f6dfeb7b16104 (patch) | |
tree | fa6c03fea00993fc4e9635b2a6acef3e27b8a665 /views/default | |
parent | 5893eaf6588ce7b6823fa78f54c0042983389162 (diff) | |
download | elgg-9026d48d405ba43dc6218ecfe34f6dfeb7b16104.tar.gz elgg-9026d48d405ba43dc6218ecfe34f6dfeb7b16104.tar.bz2 |
Fixed #50: River widgets
http://trac.elgg.org/elgg/ticket/50
git-svn-id: https://code.elgg.org/elgg/trunk@992 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/river/dashboard.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/views/default/river/dashboard.php b/views/default/river/dashboard.php index 152923f66..b1c0e614a 100644 --- a/views/default/river/dashboard.php +++ b/views/default/river/dashboard.php @@ -13,9 +13,13 @@ $river = $vars['river']; ?> <div id="river"> - <h1><?php echo elgg_echo('river'); ?></h1> <? - foreach ($river as $r) - echo "<div>$r</div>"; + if (($river) && (count($river)>0)) + { + foreach ($river as $r) + echo "<div>$r</div>"; + } + else + echo elgg_echo('river:widget:noactivity'); ?> </div>
\ No newline at end of file |