diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-13 22:19:14 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-13 22:19:14 +0000 |
commit | c1c2563fc1cd451afaf735350eb1c576740be2f4 (patch) | |
tree | c101b4050ee0fbc356699276590bd7138e7ddbdb /mod/sitepages/index.php | |
parent | b42125b50f3fcd518ef058211a318ce5c6b66e1b (diff) | |
download | elgg-c1c2563fc1cd451afaf735350eb1c576740be2f4.tar.gz elgg-c1c2563fc1cd451afaf735350eb1c576740be2f4.tar.bz2 |
swapping sitepages for externalpages since the external pages is easier to integrate into 1.8 . sitepages needs more work before it is ready for release (plus we would need an upgrade script)
git-svn-id: http://code.elgg.org/elgg/trunk@8206 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/sitepages/index.php')
-rw-r--r-- | mod/sitepages/index.php | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/mod/sitepages/index.php b/mod/sitepages/index.php deleted file mode 100644 index 56463a8d8..000000000 --- a/mod/sitepages/index.php +++ /dev/null @@ -1,45 +0,0 @@ -<?php
-/**
- * Elgg index page
- *
- */
-
-/**
- * Start the Elgg engine
- */
-
-require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
-
-//Load the front page
-$content = elgg_view('sitepages/welcome');
-$content .= elgg_view_title(elgg_echo('content:latest'));
-
-elgg_set_context('search');
-$offset = (int)get_input('offset', 0);
-if(elgg_is_active_plugin('riverdashboard')){
- $items = elgg_view_river_items(0, 0, "", "", "", '', 10, 0, 0, true, false);
- $content .= elgg_view('riverdashboard/container', array('body' => $items . elgg_view('riverdashboard/js')));
-}else{
- $content .= elgg_list_registered_entities(array('limit' => 10, 'offset' => $offset, 'full_view' => FALSE, 'allowed_types' => array('object','group')));
-}
-elgg_set_context('main');
-
-global $autofeed;
-$autofeed = FALSE;
-
-$members = elgg_get_entities_from_metadata(array(
- 'metadata_names' => 'icontime',
- 'types' => 'user',
- 'owner_guid' => 0,
- 'limit' => 10
-));
-//include sidebar free text
-$sidebar = elgg_view('sitepages/sidebar');
-$sidebar .= elgg_view('sitepages/members', array('members' => $members));
-
-$params = array(
- 'content' => $content,
- 'sidebar' => $sidebar
-);
-$content = elgg_view_layout('frontpage', $params);
-echo elgg_view_page(null, $content);
|