turtle-wow-source-kinda/Dumps/Source Code/18 - Development_Turtlehead Current/main/templates/wowhead/signup.tpl
Brian Oost a1d5bb70b2 Init
2024-08-06 18:06:40 +02:00

79 lines
2.5 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>
Signing up is disabled.
{* <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'}