From 6a66883178714f471ff95f3ff75d4caa0855c180 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Sun, 13 Feb 2011 00:35:19 +0000 Subject: Progress refactoring the login dropdown and login forms -- not quite there yet, though Added another module: dropdown. git-svn-id: http://code.elgg.org/elgg/trunk@8191 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/core/account/login_box.php | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'views/default/core/account/login_box.php') diff --git a/views/default/core/account/login_box.php b/views/default/core/account/login_box.php index c2d19f904..40482c3df 100644 --- a/views/default/core/account/login_box.php +++ b/views/default/core/account/login_box.php @@ -10,15 +10,17 @@ $login_url = elgg_get_site_url(); if (elgg_get_config('https_login')) { $login_url = str_replace("http:", "https:", $login_url); } + +$title = elgg_echo('login'); +$body = elgg_view_form('login', array('action' => "{$login_url}action/login")); + +echo elgg_view_module('login', $title, $body); + ?> -
-

- "{$login_url}action/login")); - ?> -
- + -- cgit v1.2.3