From f0e20bdc3ede23a0d9a73856122d54ba4883688c Mon Sep 17 00:00:00 2001 From: pete Date: Tue, 17 Feb 2009 13:24:11 +0000 Subject: interface updated, markup tweaked etc git-svn-id: https://code.elgg.org/elgg/trunk@2778 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/riverdashboard/index.php | 2 +- mod/riverdashboard/start.php | 4 ++++ .../views/default/riverdashboard/css.php | 18 ++++++++++++++++++ .../views/default/riverdashboard/nav.php | 16 ++++++++-------- .../views/default/riverdashboard/newestmembers.php | 5 +++-- .../views/default/riverdashboard/sitemessage.php | 2 +- .../views/default/riverdashboard/welcome.php | 2 +- 7 files changed, 36 insertions(+), 13 deletions(-) create mode 100644 mod/riverdashboard/views/default/riverdashboard/css.php (limited to 'mod') diff --git a/mod/riverdashboard/index.php b/mod/riverdashboard/index.php index 737fd4446..f269c66ba 100644 --- a/mod/riverdashboard/index.php +++ b/mod/riverdashboard/index.php @@ -51,7 +51,7 @@ break; } - $river = elgg_view_river_items($subject_guid, 0, $relationship_type, $type, $subtype, ''); + $river = elgg_view_river_items($subject_guid, 0, $relationship_type, $type, $subtype, '') . ""; $body .= elgg_view('riverdashboard/nav',array( 'type' => $type, 'subtype' => $subtype, diff --git a/mod/riverdashboard/start.php b/mod/riverdashboard/start.php index b99cff0a0..0c765ffa5 100644 --- a/mod/riverdashboard/start.php +++ b/mod/riverdashboard/start.php @@ -11,9 +11,13 @@ */ function riverdashboard_init() { + + extend_view('css','riverdashboard/css'); register_page_handler('dashboard','riverdashboard_dashboard'); + + } function riverdashboard_dashboard() { diff --git a/mod/riverdashboard/views/default/riverdashboard/css.php b/mod/riverdashboard/views/default/riverdashboard/css.php new file mode 100644 index 000000000..23474fbad --- /dev/null +++ b/mod/riverdashboard/views/default/riverdashboard/css.php @@ -0,0 +1,18 @@ + + * @copyright Curverider Ltd 2008-2009 + * @link http://elgg.org/ + */ + +?> + +.sidebarBox .recentMember { + margin:0 4px 4px 4px; + float:left; +} \ No newline at end of file diff --git a/mod/riverdashboard/views/default/riverdashboard/nav.php b/mod/riverdashboard/views/default/riverdashboard/nav.php index 56b232da0..6a485f229 100644 --- a/mod/riverdashboard/views/default/riverdashboard/nav.php +++ b/mod/riverdashboard/views/default/riverdashboard/nav.php @@ -25,13 +25,13 @@ ?> -
-
-

- href="?type=&content="> - href="?type=&display=friends&content="> - href="?type=&display=mine&content="> -

+ \ No newline at end of file + \ No newline at end of file diff --git a/mod/riverdashboard/views/default/riverdashboard/newestmembers.php b/mod/riverdashboard/views/default/riverdashboard/newestmembers.php index f25424a9e..62455e101 100644 --- a/mod/riverdashboard/views/default/riverdashboard/newestmembers.php +++ b/mod/riverdashboard/views/default/riverdashboard/newestmembers.php @@ -15,11 +15,12 @@ ?> -
+

Recent members

" . elgg_view("profile/icon",array('entity' => $mem, 'size' => 'tiny')) . "
"; + echo "
" . elgg_view("profile/icon",array('entity' => $mem, 'size' => 'tiny')) . "
"; } ?> +
\ No newline at end of file diff --git a/mod/riverdashboard/views/default/riverdashboard/sitemessage.php b/mod/riverdashboard/views/default/riverdashboard/sitemessage.php index 610e84504..bf99e7dd3 100644 --- a/mod/riverdashboard/views/default/riverdashboard/sitemessage.php +++ b/mod/riverdashboard/views/default/riverdashboard/sitemessage.php @@ -13,6 +13,6 @@ ?> -
+

This would be a message from the site admin. This would be a message from the site admin. This would be a message from the site admin. This would be a message from the site admin.

\ No newline at end of file diff --git a/mod/riverdashboard/views/default/riverdashboard/welcome.php b/mod/riverdashboard/views/default/riverdashboard/welcome.php index e39153ee7..16b48f453 100644 --- a/mod/riverdashboard/views/default/riverdashboard/welcome.php +++ b/mod/riverdashboard/views/default/riverdashboard/welcome.php @@ -13,7 +13,7 @@ ?> -
+

Welcome name; ?>

On this page you will find your gateway to the site and the recent activity from your network.

\ No newline at end of file -- cgit v1.2.3