From cbc74d984665a8bc0de18e0fa7c2fe270e9b7476 Mon Sep 17 00:00:00 2001 From: cash Date: Tue, 14 Dec 2010 23:09:41 +0000 Subject: moved account views into core views - account forms are next git-svn-id: http://code.elgg.org/elgg/trunk@7622 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/account/login_walled_garden.php | 114 -------------------------- 1 file changed, 114 deletions(-) delete mode 100644 views/default/account/login_walled_garden.php (limited to 'views/default/account/login_walled_garden.php') diff --git a/views/default/account/login_walled_garden.php b/views/default/account/login_walled_garden.php deleted file mode 100644 index 9f407bdff..000000000 --- a/views/default/account/login_walled_garden.php +++ /dev/null @@ -1,114 +0,0 @@ -" . elgg_echo('username') . "
" . elgg_view('input/text', array('internalname' => 'username', 'class' => 'login-textarea username')) . ""; -$form_body .= "
"; -$form_body .= "
"; - -$form_body .= elgg_view('input/submit', array('value' => elgg_echo('login'))); -$form_body .= "
"; - -$register = elgg_echo('register'); -$lost_password = elgg_echo('user:password:lost'); -$form_body .= '

'; -$form_body .= $CONFIG->allow_registration ? "$register | " : ''; -$form_body .= "$lost_password"; -$form_body .= '

'; -*/ - -$form_body = elgg_view('account/forms/login'); -$form_body .= elgg_view('input/hidden', array('internalname' => 'returntoreferer', 'value' => 'true')); - -$login_url = elgg_get_site_url(); -if ((isset($CONFIG->https_login)) && ($CONFIG->https_login)) { - $login_url = str_replace("http", "https", elgg_get_site_url()); -} -?> -

- $form_body, 'action' => "{$login_url}action/login")); - echo elgg_view('login/extend'); // view for plugins to extend -?> - -allow_registration) { - $title = elgg_echo('register'); - $body = elgg_view("account/forms/register", array( - 'friend_guid' => (int) get_input('friend_guid', 0), - 'invitecode' => get_input('invitecode'), - )); - - echo <<<__HTML - -__HTML; -} -?> - " . elgg_echo('user:password:text') . "

"; - $lostpassword_form_body .= "

"; - $lostpassword_form_body .= elgg_view('input/captcha'); - $lostpassword_form_body .= "

" . elgg_view('input/submit', array('value' => elgg_echo('request'))) . "

"; - - ?> - - - -- cgit v1.2.3