]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
fixed bug where the front page wasn't being populated with the views
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 14 Nov 2010 21:22:58 +0000 (21:22 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 14 Nov 2010 21:22:58 +0000 (21:22 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7316 36083f99-b078-4883-b0ff-0f9b5a30f544

index.php

index 57cf290df3709400c216e68bbaae6dcf5edf9db9..309225698d3a554001ca16deefc703beaae2fba4 100644 (file)
--- a/index.php
+++ b/index.php
@@ -52,7 +52,11 @@ if (!elgg_trigger_plugin_hook('index', 'system', null, FALSE)) {
        // if drop-down login in header option not selected
        $login_box = elgg_view('account/login_box');
 
-       $content = $title . $activity / $login_box;
-       $body = elgg_view_layout('one_column_with_sidebar', array('content' => $content));
+       $content = $title . $activity;
+       $params = array(
+               'content' => $content,
+               'sidebar' => $login_box
+       );
+       $body = elgg_view_layout('one_column_with_sidebar', $params);
        echo elgg_view_page(null, $body);
 }