Source for file _login_form.php
Documentation is available at _login_form.php
* b2evolution - {@link http://b2evolution.net/}
* Released under GNU GPL License - {@link http://b2evolution.net/about/license.html}
* @copyright (c)2003-2005 by Francois PLANQUE - {@link http://fplanque.net/}
$page_title =
T_('Login form');
$page_icon =
'icon_login.gif';
require
(dirname(__FILE__
).
'/_header.php');
param( 'redirect_to', 'string', $ReqURI );
param( 'log', 'string', '' ); // last typed login
$location =
$redirect_to;
<form action="
<?php echo
$location ?>" method="post" class="fform">
{ // We're in the process of bookmarkletting something, we don't want to loose it:
param( 'text', 'html', '' );
param( 'popupurl', 'html', '' );
param( 'popuptitle', 'html', '' );
<input type="hidden" name="mode" value="
<?php echo
format_to_output( $mode, 'formvalue' ) ?>" />
<input type="hidden" name="text" value="
<?php echo
format_to_output( $text, 'formvalue' ) ?>" />
<input type="hidden" name="popupurl" value="
<?php echo
format_to_output( $popupurl, 'formvalue' ) ?>" />
<input type="hidden" name="popuptitle" value="
<?php echo
format_to_output( $popuptitle, 'formvalue' ) ?>" />
<div class="center"><span class="notes">
<?php printf( T_('You will have to accept cookies in order to log in.') ) ?></span></div>
<div class="label"><label for="log">
<?php echo
T_('Login:') ?></label></div>
<div class="input"><input type="text" name="log" id="log" size="16" maxlength="20" value="
<?php echo
format_to_output($log, 'formvalue'); ?>" class="large" /></div>
<div class="label"><label for="pwd">
<?php echo
T_('Password:') ?></label></div>
<div class="input"><input type="password" name="pwd" id="pwd" size="16" maxlength="20" value="" class="large" /></div>
<input type="submit" name="submit" value="
<?php echo
T_('Log in!') ?>" class="search" />
<div style="text-align:right">
<a href="
<?php echo
$baseurl ?>">
<?php echo
T_('Go to Blogs') ?></a>
<a href="
<?php echo
$htsrv_url ?>/login.php?action=lostpassword&redirect_to=
<?php echo
urlencode( $redirect_to ) ?>">
<?php echo
T_('Lost your password ?') ?></a>
require
(dirname(__FILE__
).
'/_footer.php');