aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-20 17:05:51 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-20 17:05:51 +0000
commit970048280219ea6449c42d300dd20b5ece18adc7 (patch)
tree69bfba500dedb3cc326e24c0e41157d2565ae9d6 /index.php
parent79f3474370e19cc0ab2a7e873ceca7c6ede22774 (diff)
downloadelgg-970048280219ea6449c42d300dd20b5ece18adc7.tar.gz
elgg-970048280219ea6449c42d300dd20b5ece18adc7.tar.bz2
Added the beginnings of a drop-down login box for Elgg as an alternative to the front-page login box in the homepage sidebar.
git-svn-id: http://code.elgg.org/elgg/trunk@5812 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'index.php')
-rw-r--r--index.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/index.php b/index.php
index 9f256c07e..14d3616e1 100644
--- a/index.php
+++ b/index.php
@@ -38,6 +38,9 @@ if (!trigger_plugin_hook('index', 'system', null, FALSE)) {
set_context('main');
global $autofeed;
$autofeed = FALSE;
- $content .= elgg_view_layout('one_column_with_sidebar', $title, elgg_view('account/forms/login'));
+ // if drop-down login in header option not selected
+ $login_form = elgg_view('account/forms/login');
+
+ $content .= elgg_view_layout('one_column_with_sidebar', $title, $login_form);
page_draw(null, $content);
}