fix naming and types

This commit is contained in:
dave 2010-07-13 03:54:34 +00:00
parent 024cd25fa6
commit b6f43280d7
2 changed files with 3 additions and 3 deletions

View File

@ -557,9 +557,9 @@ if(isset($_SESSION['users_type'])) {
<form method="post" action="user_login.php">
<input type="hidden" name="action" value="login" />
<table cellspacing=1 cellpadding=1><tr><td>
<?=i18n("Username")?>:</td><td><input type="username" size="14" name="user" />
<?=i18n("Username")?>:</td><td><input type="email" size="14" name="username" />
</td></tr><tr><td>
<?=i18n("Password")?>:</td><td><input type="password" size="14" name="pass" />
<?=i18n("Password")?>:</td><td><input type="password" size="14" name="password" />
</td></tr>
<tr><td align="center" colspan="2">
<a href="register.php"><?=i18n("Register")?></a>

View File

@ -356,7 +356,7 @@ if(isset($_SESSION['accounts_id'])) {
<form method="post" action="user_login.php?role=<?="$role$redirect_url"?>">
<input type="hidden" name="action" value="login" />
<table><tr><td>
<?=i18n("Email")?>:</td><td><input type="text" size="20" name="username" />
<?=i18n("Email")?>:</td><td><input type="email" size="20" name="username" />
</td></tr><tr><td>
<?=i18n("Password")?>:</td><td><input type="password" size="20" name="password" />
</td></tr>