aboutsummaryrefslogtreecommitdiff
path: root/mod/riverdashboard/index.php
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-13 15:38:08 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-13 15:38:08 +0000
commit2e41019e9e9942ab2aa580ef661864452e04ca6f (patch)
tree47801fb9b78497efba26aa11c7d6d4fe1049a7e4 /mod/riverdashboard/index.php
parentb239115b1144418a22bdee83e359f6cbce88c774 (diff)
downloadelgg-2e41019e9e9942ab2aa580ef661864452e04ca6f.tar.gz
elgg-2e41019e9e9942ab2aa580ef661864452e04ca6f.tar.bz2
new views for riverdashboard
git-svn-id: https://code.elgg.org/elgg/trunk@2747 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/riverdashboard/index.php')
-rw-r--r--mod/riverdashboard/index.php17
1 files changed, 15 insertions, 2 deletions
diff --git a/mod/riverdashboard/index.php b/mod/riverdashboard/index.php
index 56ca41d32..737fd4446 100644
--- a/mod/riverdashboard/index.php
+++ b/mod/riverdashboard/index.php
@@ -24,6 +24,19 @@
$type = '';
$subtype = '';
}
+
+ //set a view for the wire to extend
+ $area1 = elgg_view("activity/thewire");
+
+ //set a view to display newest members
+ $area1 .= elgg_view("riverdashboard/newestmembers");
+
+ //set a view to display a welcome message
+ $body = elgg_view("riverdashboard/welcome");
+
+ //set a view to display a site wide message
+ $body .= elgg_view("riverdashboard/sitemessage");
+
switch($orient) {
case 'mine':
@@ -39,13 +52,13 @@
}
$river = elgg_view_river_items($subject_guid, 0, $relationship_type, $type, $subtype, '');
- $body = elgg_view('riverdashboard/nav',array(
+ $body .= elgg_view('riverdashboard/nav',array(
'type' => $type,
'subtype' => $subtype,
'orient' => $orient
));
$body .= $river;
- echo page_draw(elgg_echo('dashboard'),elgg_view_layout('sidebar_boxes','',$body));
+ echo page_draw(elgg_echo('dashboard'),elgg_view_layout('sidebar_boxes',$area1,$body));
?> \ No newline at end of file