diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-20 17:05:51 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-20 17:05:51 +0000 |
commit | 970048280219ea6449c42d300dd20b5ece18adc7 (patch) | |
tree | 69bfba500dedb3cc326e24c0e41157d2565ae9d6 /index.php | |
parent | 79f3474370e19cc0ab2a7e873ceca7c6ede22774 (diff) | |
download | elgg-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.php | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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); } |