aboutsummaryrefslogtreecommitdiff
path: root/views/default/account/login_box.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-14 23:09:41 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-14 23:09:41 +0000
commitcbc74d984665a8bc0de18e0fa7c2fe270e9b7476 (patch)
tree9480e8183649e485493eb497e862be787498d810 /views/default/account/login_box.php
parentb5aed25425ff58d544726f97d3cca0ef142f8c94 (diff)
downloadelgg-cbc74d984665a8bc0de18e0fa7c2fe270e9b7476.tar.gz
elgg-cbc74d984665a8bc0de18e0fa7c2fe270e9b7476.tar.bz2
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
Diffstat (limited to 'views/default/account/login_box.php')
-rw-r--r--views/default/account/login_box.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/views/default/account/login_box.php b/views/default/account/login_box.php
deleted file mode 100644
index eb37d7554..000000000
--- a/views/default/account/login_box.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-/**
- * Elgg login box
- *
- * @package Elgg
- * @subpackage Core
- */
-
-$form_body = elgg_view('account/forms/login');
-
-$login_url = elgg_get_site_url();
-if ((isset($CONFIG->https_login)) && ($CONFIG->https_login)) {
- $login_url = str_replace("http:", "https:", $login_url);
-}
-?>
-
-<div id="login">
-<h2><?php echo elgg_echo('login'); ?></h2>
- <?php
- echo elgg_view('input/form', array('body' => $form_body, 'action' => "{$login_url}action/login"));
- ?>
-</div>
-<script type="text/javascript">
- $(document).ready(function() { $('input[name=username]').focus(); });
-</script>