diff options
| author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-09-30 22:57:58 +0000 | 
|---|---|---|
| committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-09-30 22:57:58 +0000 | 
| commit | dc5813300352f43b0ed67e0811967e1ec12628c3 (patch) | |
| tree | e3f28d94dcee1e558b9c2bd1267b6ed925846859 | |
| parent | 330ca9228857560164c963172fc8f5c289f16b42 (diff) | |
| download | elgg-dc5813300352f43b0ed67e0811967e1ec12628c3.tar.gz elgg-dc5813300352f43b0ed67e0811967e1ec12628c3.tar.bz2 | |
Refs #2344 - moves dashboard pages into pages directory
git-svn-id: http://code.elgg.org/elgg/trunk@6985 36083f99-b078-4883-b0ff-0f9b5a30f544
| -rw-r--r-- | engine/lib/users.php | 2 | ||||
| -rw-r--r-- | pages/dashboard/index.php (renamed from dashboard/index.php) | 3 | ||||
| -rw-r--r-- | pages/dashboard/latest.php (renamed from dashboard/latest.php) | 2 | ||||
| -rw-r--r-- | views/default/dashboard/blurb.php | 2 | 
4 files changed, 3 insertions, 6 deletions
| diff --git a/engine/lib/users.php b/engine/lib/users.php index 5c2ac7731..5d16decb7 100644 --- a/engine/lib/users.php +++ b/engine/lib/users.php @@ -1176,7 +1176,7 @@ function collections_page_handler($page_elements) {   * Page handler for dashboard   */  function dashboard_page_handler($page_elements) { -	require_once(dirname(dirname(dirname(__FILE__))) . "/dashboard/index.php"); +	require_once(dirname(dirname(dirname(__FILE__))) . "/pages/dashboard/index.php");  } diff --git a/dashboard/index.php b/pages/dashboard/index.php index 174869cec..26b811ce9 100644 --- a/dashboard/index.php +++ b/pages/dashboard/index.php @@ -8,9 +8,6 @@   * @link http://elgg.org/   */ -// Get the Elgg engine -require_once(dirname(dirname(__FILE__)) . "/engine/start.php"); -  // Ensure that only logged-in users can see this page  gatekeeper(); diff --git a/dashboard/latest.php b/pages/dashboard/latest.php index c1a3d3db5..f746820b1 100644 --- a/dashboard/latest.php +++ b/pages/dashboard/latest.php @@ -11,7 +11,7 @@  /**   * Start the Elgg engine   */ -require_once(dirname(dirname(__FILE__)) . "/engine/start.php"); +require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");  // Load the front page  global $CONFIG; diff --git a/views/default/dashboard/blurb.php b/views/default/dashboard/blurb.php index 4b71e70e1..d4f9cfd43 100644 --- a/views/default/dashboard/blurb.php +++ b/views/default/dashboard/blurb.php @@ -19,6 +19,6 @@  ?>  </p>  <p> -	<a href="<?php echo $vars['url']; ?>dashboard/latest.php"><?php echo elgg_echo('content:latest:blurb'); ?></a> +	<a href="<?php echo $vars['url']; ?>pages/dashboard/latest.php"><?php echo elgg_echo('content:latest:blurb'); ?></a>  </p>  </div>
\ No newline at end of file | 
