From 970048280219ea6449c42d300dd20b5ece18adc7 Mon Sep 17 00:00:00 2001 From: pete Date: Tue, 20 Apr 2010 17:05:51 +0000 Subject: 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 --- index.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'index.php') 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); } -- cgit v1.2.3