From e7a6658abfd1f8e20ebc91ce3022eef8376b3e2e Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 21 Jan 2009 10:39:35 +0000 Subject: Added Activity stream back in git-svn-id: https://code.elgg.org/elgg/trunk@2589 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/activity/views/default/activity/css.php | 103 +++++++++++++++++++++ mod/activity/views/default/activity/dashboard.php | 14 +++ mod/activity/views/default/activity/wrapper.php | 51 ++++++++++ .../views/default/settings/activity/edit.php | 11 +++ 4 files changed, 179 insertions(+) create mode 100644 mod/activity/views/default/activity/css.php create mode 100644 mod/activity/views/default/activity/dashboard.php create mode 100644 mod/activity/views/default/activity/wrapper.php create mode 100644 mod/activity/views/default/settings/activity/edit.php (limited to 'mod/activity/views/default') diff --git a/mod/activity/views/default/activity/css.php b/mod/activity/views/default/activity/css.php new file mode 100644 index 000000000..bce6fe0d2 --- /dev/null +++ b/mod/activity/views/default/activity/css.php @@ -0,0 +1,103 @@ + + * @copyright Curverider Ltd 2008 + * @link http://elgg.org/ + */ + +?> + + +/* *************************************** + ACTIVITY +*************************************** */ +.activity_item p { + margin:0; + padding:2px 0 0 0; + line-height:1.1em; + min-height:17px; +} +.activity_item .activity_item_time { + font-size:90%; + color:#666666; +} +#activity { + border-top:1px solid #dddddd; +} +#activity .activity_item p { + margin:0; + padding:2px 0 0 20px; + line-height:1.1em; + min-height:17px; +} +#activity .activity_item { + border-bottom:1px solid #dddddd; + padding:2px 0 2px 0; +} +#activity .river_item_time { + font-size:90%; + color:#666666; +} +/* IE6 fix */ +* html #activity .river_item p { + padding:3px 0 3px 20px; +} +/* IE7 */ +*:first-child+html #activity .river_item p { + min-height:17px; +} + +#activity .activity_file_create { + background: url(_graphics/river_icons/river_icon_files.gif) no-repeat left -1px; +} +#activity .activity_file_annotate { + background: url(_graphics/river_icons/river_icon_comment.gif) no-repeat left -1px; +} +#activity .activity_status_create { + background: url(_graphics/river_icons/river_icon_profile.gif) no-repeat left -1px; +} +#activity .activity_user_profileupdate { + background: url(_graphics/river_icons/river_icon_profile.gif) no-repeat left -1px; +} +#activity .activity_user_profileiconupdate { + background: url(_graphics/river_icons/river_icon_profile.gif) no-repeat left -1px; +} +#activity .activity_relationship_friend_create { + background: url(_graphics/river_icons/river_icon_friends.gif) no-repeat left -1px; +} +#activity .activity_bookmarks_create { + background: url(_graphics/river_icons/river_icon_bookmarks.gif) no-repeat left -1px; +} +#activity .activity_blog_annotate { + background: url(_graphics/river_icons/river_icon_comment.gif) no-repeat left -1px; +} +#activity .activity_widget_create { + background: url(_graphics/river_icons/river_icon_plugin.gif) no-repeat left -1px; +} +#activity .activity_blog_update { + background: url(_graphics/river_icons/river_icon_blog.gif) no-repeat left -1px; +} +#activity .activity_blog_create { + background: url(_graphics/river_icons/river_icon_blog.gif) no-repeat left -1px; +} +#activity .activity_status_create { + background: url(_graphics/river_icons/river_icon_status.gif) no-repeat left -1px; +} +#activity .activity_forums_create { + background: url(_graphics/river_icons/river_icon_forum.gif) no-repeat left -1px; +} +#activity .activity_forums_update { + background: url(_graphics/river_icons/river_icon_forum.gif) no-repeat left -1px; +} +#activity .activity_forumtopic_create { + background: url(_graphics/river_icons/river_icon_forum.gif) no-repeat left -1px; +} +#activity .activity_relationship_member_create { + background: url(_graphics/river_icons/river_icon_forum.gif) no-repeat left -1px; +} + diff --git a/mod/activity/views/default/activity/dashboard.php b/mod/activity/views/default/activity/dashboard.php new file mode 100644 index 000000000..3e626b49f --- /dev/null +++ b/mod/activity/views/default/activity/dashboard.php @@ -0,0 +1,14 @@ + +
+ +
\ No newline at end of file diff --git a/mod/activity/views/default/activity/wrapper.php b/mod/activity/views/default/activity/wrapper.php new file mode 100644 index 000000000..88ba6ef57 --- /dev/null +++ b/mod/activity/views/default/activity/wrapper.php @@ -0,0 +1,51 @@ +getObject() instanceof ElggEntity) { + + $obj = $statement->getObject(); + $subtype = $obj->getSubtype(); + if (empty($subtype)) $subtype = $obj->type; + if (empty($subtype)) $subtype = "general"; + } else if (is_array($statement->getObject())) { + $obj = $statement->getObject(); + $subtype = "relationship_" . $obj['relationship']; + } +?> +
+ +
+
+

+ + + () + +

+
+
+ +
diff --git a/mod/activity/views/default/settings/activity/edit.php b/mod/activity/views/default/settings/activity/edit.php new file mode 100644 index 000000000..bfb1a9dbe --- /dev/null +++ b/mod/activity/views/default/settings/activity/edit.php @@ -0,0 +1,11 @@ + +

+ + + + +

-- cgit v1.2.3