From 73ed4ae8513af1cc6e795b125cc1f319a965bfb4 Mon Sep 17 00:00:00 2001 From: brettp Date: Fri, 12 Mar 2010 17:03:51 +0000 Subject: Merged Cash's bugfixes from the 1.7 branch (3288:5377). git-svn-id: http://code.elgg.org/elgg/trunk@5378 36083f99-b078-4883-b0ff-0f9b5a30f544 --- index.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index c559df5b3..9f256c07e 100644 --- a/index.php +++ b/index.php @@ -30,8 +30,14 @@ if (!trigger_plugin_hook('index', 'system', null, FALSE)) { } */ + //Load the front page + $title = elgg_view_title(elgg_echo('content:latest')); + set_context('search'); + $offset = (int)get_input('offset', 0); + $content = elgg_list_registered_entities(array('limit' => 10, 'offset' => $offset, 'full_view' => FALSE, 'allowed_types' => array('object','group'))); + set_context('main'); global $autofeed; $autofeed = FALSE; - $content = elgg_view_layout('one_column_with_sidebar', $title, elgg_view('account/forms/login')); + $content .= elgg_view_layout('one_column_with_sidebar', $title, elgg_view('account/forms/login')); page_draw(null, $content); } -- cgit v1.2.3