aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/login.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-15 02:15:39 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-15 02:15:39 +0000
commite2ecdb543fdf4ac0adf7097c979e74950c39165e (patch)
treeeb6b9addd1c4a0afc9f221f56613f3e7a792cd1d /views/default/forms/login.php
parentcbc74d984665a8bc0de18e0fa7c2fe270e9b7476 (diff)
downloadelgg-e2ecdb543fdf4ac0adf7097c979e74950c39165e.tar.gz
elgg-e2ecdb543fdf4ac0adf7097c979e74950c39165e.tar.bz2
moved account forms into forms directory
git-svn-id: http://code.elgg.org/elgg/trunk@7623 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/forms/login.php')
-rw-r--r--views/default/forms/login.php35
1 files changed, 35 insertions, 0 deletions
diff --git a/views/default/forms/login.php b/views/default/forms/login.php
new file mode 100644
index 000000000..87dd6d5ad
--- /dev/null
+++ b/views/default/forms/login.php
@@ -0,0 +1,35 @@
+<?php
+/**
+ * Elgg login form
+ *
+ * @package Elgg
+ * @subpackage Core
+ */
+?>
+
+<p class='loginbox'>
+ <label><?php echo elgg_echo('loginusername'); ?></label>
+ <?php echo elgg_view('input/text', array('internalname' => 'username', 'class' => 'login-textarea')); ?>
+ <label><?php echo elgg_echo('password'); ?></label>
+ <?php echo elgg_view('input/password', array('internalname' => 'password', 'class' => 'login-textarea')); ?>
+
+ <?php echo elgg_view('input/submit', array('value' => elgg_echo('login'))); ?>
+
+ <span class='rememberme'>
+ <label>
+ <input type="checkbox" name="persistent" value="true" />
+ <?php echo elgg_echo('user:persistent'); ?>
+ </label>
+ </span>
+
+ <?php echo elgg_view('login/extend'); ?>
+
+<?php
+ if ($CONFIG->allow_registration) {
+ echo '<a class="registration_link" href="' . elgg_get_site_url() . 'pg/register/">' . elgg_echo('register') . '</a> | ';
+ }
+?>
+ <a class="forgotten_password_link" href="<?php echo elgg_get_site_url(); ?>pages/account/forgotten_password.php">
+ <?php echo elgg_echo('user:password:lost'); ?>
+ </a>
+</p> \ No newline at end of file