From 4a2a33d4aef454cd9083ba0ef12b8de6e8e0f383 Mon Sep 17 00:00:00 2001 From: dave Date: Fri, 23 Apr 2010 10:16:33 +0000 Subject: The start of a new walled garden index page git-svn-id: http://code.elgg.org/elgg/trunk@5856 36083f99-b078-4883-b0ff-0f9b5a30f544 --- .../default/account/forms/login_walledgarden.php | 110 +++++++++++++++++++++ 1 file changed, 110 insertions(+) create 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_walledgarden.php b/mod/walledgarden/views/default/account/forms/login_walledgarden.php new file mode 100644 index 000000000..3589209fe --- /dev/null +++ b/mod/walledgarden/views/default/account/forms/login_walledgarden.php @@ -0,0 +1,110 @@ +" . 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")); + ?> +
+
+ + + + + + + + \ No newline at end of file -- cgit v1.2.3