diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-04 04:05:00 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-04 04:05:00 +0000 |
commit | 5831aeef5e747f7d4e14d9d255a401adf395e5e6 (patch) | |
tree | 758074988dd6cf50a4d5f27b34cfc0c4775f62de /mod/walledgarden/views/default/account | |
parent | 62b5f00225fdfaab4eb0075cac646592a90bbecf (diff) | |
download | elgg-5831aeef5e747f7d4e14d9d255a401adf395e5e6.tar.gz elgg-5831aeef5e747f7d4e14d9d255a401adf395e5e6.tar.bz2 |
Merged walledgarden changes.
git-svn-id: http://code.elgg.org/elgg/trunk@5273 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/walledgarden/views/default/account')
-rw-r--r-- | mod/walledgarden/views/default/account/forms/login.php | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/mod/walledgarden/views/default/account/forms/login.php b/mod/walledgarden/views/default/account/forms/login.php deleted file mode 100644 index 86ff473e5..000000000 --- a/mod/walledgarden/views/default/account/forms/login.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php - - /** - * Elgg login form - * - * @package Elgg - * @subpackage Core - * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 - * @author Curverider Ltd - * @copyright Curverider Ltd 2008-2010 - * @link http://elgg.org/ - */ - - global $CONFIG; - - $form_body = "<p class=\"loginbox\"><label>" . elgg_echo('username') . "<br />" . elgg_view('input/text', array('internalname' => 'username', 'class' => 'login-textarea')) . "</label>"; - $form_body .= "<br />"; - $form_body .= "<label>" . elgg_echo('password') . "<br />" . elgg_view('input/password', array('internalname' => 'password', 'class' => 'login-textarea')) . "</label><br />"; - $form_body .= elgg_view('input/submit', array('value' => elgg_echo('login'))) . " <div id=\"persistent_login\"><label><input type=\"checkbox\" name=\"persistent\" value=\"true\" />".elgg_echo('user:persistent')."</label></div></p>"; - $form_body .= "<p class=\"loginbox\">"; - $form_body .= (!isset($CONFIG->disable_registration) || !($CONFIG->disable_registration)) ? "<a href=\"{$vars['url']}pg/register.php\">" . elgg_echo('register') . "</a> | " : ""; - - //<input name=\"username\" type=\"text\" class="general-textarea" /></label> -?> - - <div id="login-box"> - <h2><?php echo elgg_echo('login'); ?></h2> - <?php echo elgg_view('input/form', array('body' => $form_body, 'action' => "{$vars['url']}action/login")); ?> - - </div> |