Files
Wowdb-web/templates/wowhead/signup.tpl
T
TheLuda 947f95fb20 Imported AoWoW.
This version of AoWoW is based on https://github.com/udw/udwbase and is
not yet usable.

An initial amount of testing has been finished, and you can import the
aowow.sql database into your world database, and create a local copy of
config.php.in as config.php to test this version.

FirePHP (http://firephp.org/) has been added for testing purposes.

Signed-off-by: TheLuda <theluda@getmangos.com>
2011-09-25 20:57:24 +02:00

77 lines
2.3 KiB
Smarty

{include file='header.tpl'}
<div id="main">
<div id="main-precontents"></div>
<div id="main-contents">
<div class="pad3"></div>
<script type="text/javascript">
function inputBoxValidate(f)
{ldelim}
var _ = f.elements[0];
if(_.value.length == 0)
{ldelim}
ge('inputbox-error').innerHTML = LANG.message_enterusername;
_.focus();
return false;
{rdelim}
_ = f.elements[1];
if(_.value.length == 0)
{ldelim}
ge('inputbox-error').innerHTML = LANG.message_enterpassword;
_.focus();
return false;
{rdelim}
_ = f.elements[2];
if(_.value.length == 0)
{ldelim}
ge('inputbox-error').innerHTML = message_passwordsdonotmatch;
_.focus();
return false;
{rdelim}
{rdelim}
</script>
<form action="?account=signup" method="post" onsubmit="return inputBoxValidate(this)">
<div class="inputbox" style="position: relative">
<h1>{#Create_your_account#}</h1>
<div id="inputbox-error">{$signup_error}</div>
<table align="center">
<tr>
<td align="right">{#Username#}:</td>
<td><input type="text" name="username" value="" maxlength="16" id="username-generic" style="width: 10em" /></td>
</tr>
<tr>
<td align="right">{#Password#}:</td>
<td><input type="password" name="password" style="width: 10em" /></td>
</tr>
<tr>
<td align="right">{#Confirm_password#}:</td>
<td><input type="password" name="c_password" style="width: 10em" /></td>
</tr>
<tr>
<tr>
<td align="right">{#Email#}:</td>
<td><input type="text" name="email" style="width: 10em" /></td>
</tr>
<td align="right" valign="top"><input type="checkbox" name="remember_me" id="remember_me" value="yes" /></td>
<td>
<label for="remember_me">{#Remember_me_on_this_computer#}</label>
<div class="pad2"></div>
<input type="submit" name="signup" value="{#Signup#}" />
</td>
</tr>
</table>
</div>
</form>
<script type="text/javascript">ge('username-generic').focus()</script>
<div class="clear"></div>
</div>
</div>
</div>
{include file='footer.tpl'}