aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/profile/index.php2
-rw-r--r--views/default/river/ElggUser/login.php11
-rw-r--r--views/default/river/ElggUser/logout.php15
-rw-r--r--views/default/river/shell.php18
4 files changed, 46 insertions, 0 deletions
diff --git a/mod/profile/index.php b/mod/profile/index.php
index e346740af..35c1e41a6 100644
--- a/mod/profile/index.php
+++ b/mod/profile/index.php
@@ -28,6 +28,8 @@
$title = elgg_echo("profile");
}
+
+ $body.= elgg_view("river/shell", array('river' => get_river_entries()));
page_draw($title, $body);
diff --git a/views/default/river/ElggUser/login.php b/views/default/river/ElggUser/login.php
new file mode 100644
index 000000000..d0966dbef
--- /dev/null
+++ b/views/default/river/ElggUser/login.php
@@ -0,0 +1,11 @@
+<?php
+ /**
+ * Elgg river user login
+ *
+ * @package Elgg
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Marcus Povey
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.com/
+ */
+?> \ No newline at end of file
diff --git a/views/default/river/ElggUser/logout.php b/views/default/river/ElggUser/logout.php
new file mode 100644
index 000000000..8fff7bbfb
--- /dev/null
+++ b/views/default/river/ElggUser/logout.php
@@ -0,0 +1,15 @@
+<?php
+ /**
+ * Elgg river user logout
+ *
+ * @package Elgg
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Marcus Povey
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.com/
+ */
+
+
+
+?>
+out \ No newline at end of file
diff --git a/views/default/river/shell.php b/views/default/river/shell.php
new file mode 100644
index 000000000..8e0df328f
--- /dev/null
+++ b/views/default/river/shell.php
@@ -0,0 +1,18 @@
+<?php
+ /**
+ * Elgg river pageshell
+ *
+ * @package Elgg
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Marcus Povey
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.com/
+ */
+
+ /// Extract the river
+ $river = $vars['river'];
+
+ foreach ($river as $r)
+ echo $r;
+
+?> \ No newline at end of file