aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-05 16:09:47 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-05 16:09:47 +0000
commite8427e2979647eeb121f411bc9789a1e9ad30aa8 (patch)
treeaccd558144a58abeb4392486a97e1b8414e9334f
parent722aa0d38cccabcfd33ffbd63b4dc9173e4afd23 (diff)
downloadelgg-e8427e2979647eeb121f411bc9789a1e9ad30aa8.tar.gz
elgg-e8427e2979647eeb121f411bc9789a1e9ad30aa8.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* git-svn-id: https://code.elgg.org/elgg/trunk@809 36083f99-b078-4883-b0ff-0f9b5a30f544
-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