From 37235af003b133fd84dded5cec886ce3d169521f Mon Sep 17 00:00:00 2001 From: dave Date: Fri, 23 Apr 2010 10:40:37 +0000 Subject: small walled garden tweak git-svn-id: http://code.elgg.org/elgg/trunk@5859 36083f99-b078-4883-b0ff-0f9b5a30f544 --- .../views/default/account/forms/login.php | 111 +++++++++++++++++++++ .../default/account/forms/login_walledgarden.php | 111 --------------------- 2 files changed, 111 insertions(+), 111 deletions(-) create mode 100644 mod/walledgarden/views/default/account/forms/login.php delete mode 100644 mod/walledgarden/views/default/account/forms/login_walledgarden.php (limited to 'mod/walledgarden/views/default/account') diff --git a/mod/walledgarden/views/default/account/forms/login.php b/mod/walledgarden/views/default/account/forms/login.php new file mode 100644 index 000000000..7cb38faed --- /dev/null +++ b/mod/walledgarden/views/default/account/forms/login.php @@ -0,0 +1,111 @@ +" . elgg_echo('login') . ""; + $form_body .= "".elgg_view('input/text', array('internalname' => 'username', 'class' => 'login-textarea username master')); + $form_body .= "
".elgg_view('input/password', array('internalname' => 'password', 'class' => 'login-textarea password master' )); + + + $form_body .= "
" . elgg_view('input/submit', array('value' => elgg_echo('login'))) . "
"; + $form_body .= "

"; + $form_body .= (!isset($CONFIG->disable_registration) || !($CONFIG->disable_registration)) ? "" . elgg_echo('register') . " | " : ""; + $form_body .= "" . elgg_echo('user:password:lost') . "

"; + + + + $login_url = $vars['url']; + if ((isset($CONFIG->https_login)) && ($CONFIG->https_login)) + $login_url = str_replace("http", "https", $vars['url']); +?> + +
+ $form_body, 'action' => "{$login_url}action/login")); + echo elgg_view('login/extend'); //a view for plugins to extend + ?> +
+
+ + + + + + + + \ No newline at end of file diff --git a/mod/walledgarden/views/default/account/forms/login_walledgarden.php b/mod/walledgarden/views/default/account/forms/login_walledgarden.php deleted file mode 100644 index 7cb38faed..000000000 --- a/mod/walledgarden/views/default/account/forms/login_walledgarden.php +++ /dev/null @@ -1,111 +0,0 @@ -" . elgg_echo('login') . ""; - $form_body .= "".elgg_view('input/text', array('internalname' => 'username', 'class' => 'login-textarea username master')); - $form_body .= "
".elgg_view('input/password', array('internalname' => 'password', 'class' => 'login-textarea password master' )); - - - $form_body .= "
" . elgg_view('input/submit', array('value' => elgg_echo('login'))) . "
"; - $form_body .= "

"; - $form_body .= (!isset($CONFIG->disable_registration) || !($CONFIG->disable_registration)) ? "" . elgg_echo('register') . " | " : ""; - $form_body .= "" . elgg_echo('user:password:lost') . "

"; - - - - $login_url = $vars['url']; - if ((isset($CONFIG->https_login)) && ($CONFIG->https_login)) - $login_url = str_replace("http", "https", $vars['url']); -?> - -
- $form_body, 'action' => "{$login_url}action/login")); - echo elgg_view('login/extend'); //a view for plugins to extend - ?> -
-
- - - - - - - - \ No newline at end of file -- cgit v1.2.3