From f81d6e670ba8c6c98819612cdddad97649be2241 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 16 Oct 2008 15:54:38 +0000 Subject: Initial activity view. Missing functionality: comments, tabs and drill down ability. git-svn-id: https://code.elgg.org/elgg/trunk@2272 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/activity/views/default/activity/dashboard.php | 14 ++++++ mod/activity/views/default/activity/wrapper.php | 51 ++++++++++++++++++++++ .../views/default/settings/activity/edit.php | 11 +++++ 3 files changed, 76 insertions(+) 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/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