aboutsummaryrefslogtreecommitdiff
path: root/pages/dashboard
diff options
context:
space:
mode:
Diffstat (limited to 'pages/dashboard')
-rw-r--r--pages/dashboard/index.php28
-rw-r--r--pages/dashboard/latest.php26
2 files changed, 0 insertions, 54 deletions
diff --git a/pages/dashboard/index.php b/pages/dashboard/index.php
deleted file mode 100644
index ef3d987b1..000000000
--- a/pages/dashboard/index.php
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-/**
- * Elgg dashboard
- *
- * @package Elgg
- * @subpackage Core
- */
-
-// Ensure that only logged-in users can see this page
-gatekeeper();
-
-// Set context and title
-elgg_set_context('dashboard');
-set_page_owner(get_loggedin_userid());
-$title = elgg_echo('dashboard');
-
-// wrap intro message in a div
-$intro_message = elgg_view('dashboard/blurb');
-
-$params = array(
- 'box' => $intro_message,
- 'num_columns' => 3,
-);
-$widgets = elgg_view_layout('widgets', $params);
-
-$body = elgg_view_layout('one_column', array('content' => $widgets));
-
-echo elgg_view_page($title, $body); \ No newline at end of file
diff --git a/pages/dashboard/latest.php b/pages/dashboard/latest.php
deleted file mode 100644
index 201f1e804..000000000
--- a/pages/dashboard/latest.php
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-/**
- * Elgg latest content page
- *
- * @package Elgg
- * @subpackage Core
- */
-
-/**
- * Start the Elgg engine
- */
-require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
-
-// Load the front page
-
-if (is_plugin_enabled('riverdashboard')) {
- $title = elgg_view_title(elgg_echo('content:latest'));
- elgg_set_context('search');
- $content = elgg_list_registered_entities(array('limit' => 10, 'full_view' => FALSE,
- 'allowed_types' => array('object','group')));
- elgg_set_context('latest');
-} else {
- $content = "Riverdashboard not loaded";
-}
-$content = elgg_view_layout('one_column_with_sidebar', array('content' => $title . $content));
-echo elgg_view_page(elgg_echo('content:latest'), $content);