aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views/default/profile/profile_contents/activity.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/views/default/profile/profile_contents/activity.php')
-rwxr-xr-xmod/profile/views/default/profile/profile_contents/activity.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/mod/profile/views/default/profile/profile_contents/activity.php b/mod/profile/views/default/profile/profile_contents/activity.php
new file mode 100755
index 000000000..62fc747e3
--- /dev/null
+++ b/mod/profile/views/default/profile/profile_contents/activity.php
@@ -0,0 +1,26 @@
+<?php
+/**
+ * Elgg user display (details)
+ * @uses $vars['entity'] The user entity
+ */
+?>
+<div id="profile_content">
+ <?php
+ if(is_plugin_enabled('thewire')) {
+ // users last status msg, if they posted one
+ echo elgg_view("profile/status", array("entity" => $vars['entity']));
+ }
+ if(is_plugin_enabled('riverdashboard')) {
+ // users last 10 activites
+ echo elgg_view('profile/profile_contents/profile_activity', array('entity' => $vars['entity']));
+ } else {
+ echo "Riverdashboard not loaded";
+ }
+ ?>
+</div>
+
+<div id="profile_sidebar">
+<?php
+ echo elgg_view('profile/profile_ownerblock', array('smallicon' => true));
+?>
+</div>