20,7 → 20,8 |
if ($ID===0) { |
$return = "<div id='yousign'><a href='sign.php?action=signup'>"._("Signup")."</a>"; |
$return .= "• <form action='process.php' method='post'>"; |
$return .= _("Login:")." <input type='text' name='login'> "; |
$return .= "<input type='hidden' name='action' value='signin'>"; |
$return .= _("E-mail:")." <input type='text' name='login'> "; |
$return .= _("Password:")." <input type='password' name='passwd'>"; |
$return .= "<input type='submit' value='"._("Enter")."'></form></div>"; |
} else { |
29,6 → 30,18 |
} |
return $return; |
} |
|
function showSignupForm() { |
$return = "<form action='process.php' method='post'>"; |
$return .= "<fieldset><input type='hidden' name='action' value='signup'>"; |
$return .= _("E-mail:")." <input type='text' name='login'><br>"; |
$return .= _("Password:")." <input type='password' name='passwd'><br>"; |
$return .= _("Password (again):")." <input type='password' name='passwdag'><br>"; |
$return .= _("Real name:")." <input type='text' name='realname'><br>"; |
$return .= "<input type='submit' value='"._("Register")."'></fieldset></form>"; |
|
return $return; |
} |
} |
|
?> |