aboutsummaryrefslogtreecommitdiff
path: root/mod/riverdashboard/views/default
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-13 15:38:08 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-13 15:38:08 +0000
commit2e41019e9e9942ab2aa580ef661864452e04ca6f (patch)
tree47801fb9b78497efba26aa11c7d6d4fe1049a7e4 /mod/riverdashboard/views/default
parentb239115b1144418a22bdee83e359f6cbce88c774 (diff)
downloadelgg-2e41019e9e9942ab2aa580ef661864452e04ca6f.tar.gz
elgg-2e41019e9e9942ab2aa580ef661864452e04ca6f.tar.bz2
new views for riverdashboard
git-svn-id: https://code.elgg.org/elgg/trunk@2747 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/riverdashboard/views/default')
-rw-r--r--mod/riverdashboard/views/default/riverdashboard/newestmembers.php25
-rw-r--r--mod/riverdashboard/views/default/riverdashboard/sitemessage.php18
-rw-r--r--mod/riverdashboard/views/default/riverdashboard/welcome.php19
3 files changed, 62 insertions, 0 deletions
diff --git a/mod/riverdashboard/views/default/riverdashboard/newestmembers.php b/mod/riverdashboard/views/default/riverdashboard/newestmembers.php
new file mode 100644
index 000000000..f25424a9e
--- /dev/null
+++ b/mod/riverdashboard/views/default/riverdashboard/newestmembers.php
@@ -0,0 +1,25 @@
+<?php
+
+ /**
+ * Elgg thewire view page
+ *
+ * @package ElggTheWire
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider <info@elgg.com>
+ * @copyright Curverider Ltd 2008-2009
+ * @link http://elgg.com/
+ *
+ */
+
+ $newest_members = get_entities_from_metadata('icontime', '', 'user', '', 0, 20);
+
+?>
+
+<div id="recent_members">
+<h3>Recent members</h3>
+<?php
+ foreach($newest_members as $mem){
+ echo "<div style=\"float:left;\">" . elgg_view("profile/icon",array('entity' => $mem, 'size' => 'tiny')) . "</div>";
+ }
+?>
+</div> \ No newline at end of file
diff --git a/mod/riverdashboard/views/default/riverdashboard/sitemessage.php b/mod/riverdashboard/views/default/riverdashboard/sitemessage.php
new file mode 100644
index 000000000..610e84504
--- /dev/null
+++ b/mod/riverdashboard/views/default/riverdashboard/sitemessage.php
@@ -0,0 +1,18 @@
+<?php
+
+ /**
+ * Elgg thewire view page
+ *
+ * @package ElggTheWire
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider <info@elgg.com>
+ * @copyright Curverider Ltd 2008-2009
+ * @link http://elgg.com/
+ *
+ */
+
+?>
+
+<div id="sitewide_message">
+<p>This would be a message from the site admin. This would be a message from the site admin. This would be a message from the site admin. This would be a message from the site admin.</p>
+</div> \ No newline at end of file
diff --git a/mod/riverdashboard/views/default/riverdashboard/welcome.php b/mod/riverdashboard/views/default/riverdashboard/welcome.php
new file mode 100644
index 000000000..e39153ee7
--- /dev/null
+++ b/mod/riverdashboard/views/default/riverdashboard/welcome.php
@@ -0,0 +1,19 @@
+<?php
+
+ /**
+ * Elgg thewire view page
+ *
+ * @package ElggTheWire
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider <info@elgg.com>
+ * @copyright Curverider Ltd 2008-2009
+ * @link http://elgg.com/
+ *
+ */
+
+?>
+
+<div id="welcome_message">
+<p><b>Welcome <?php echo $_SESSION['user']->name; ?></b></p>
+<p>On this page you will find your gateway to the site and the recent activity from your network.</p>
+</div> \ No newline at end of file