aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/login.php
blob: 99d9cdd222da73a7697c76383dc322e6394d8d54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
/**
 * Elgg login form
 *
 * @package Elgg
 * @subpackage Core
 */
?>

<p class='loginbox'>
	<label><?php echo elgg_echo('loginusername'); ?></label><br />
	<?php echo elgg_view('input/text', array('internalname' => 'username', 'class' => 'login-textarea')); ?>
	<label><?php echo elgg_echo('password'); ?></label><br />
	<?php echo elgg_view('input/password', array('internalname' => 'password', 'class' => 'login-textarea')); ?><br />

	<?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><br />

	<?php echo elgg_view('login/extend'); ?>

<?php
	if (elgg_get_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>