| Line | |
|---|
| 1 | {include file='header.tpl'}
|
|---|
| 2 |
|
|---|
| 3 | <div id="main">
|
|---|
| 4 | <div id="main-precontents"></div>
|
|---|
| 5 | <div id="main-contents">
|
|---|
| 6 | <div class="pad3"></div>
|
|---|
| 7 | <script type="text/javascript">
|
|---|
| 8 | function inputBoxValidate(f)
|
|---|
| 9 | {ldelim}
|
|---|
| 10 | var _ = f.elements[0];
|
|---|
| 11 | if(_.value.length == 0)
|
|---|
| 12 | {ldelim}
|
|---|
| 13 | ge('inputbox-error').innerHTML = LANG.message_enterusername;
|
|---|
| 14 | _.focus();
|
|---|
| 15 | return false;
|
|---|
| 16 | {rdelim}
|
|---|
| 17 |
|
|---|
| 18 | _ = f.elements[1];
|
|---|
| 19 | if(_.value.length == 0)
|
|---|
| 20 | {ldelim}
|
|---|
| 21 | ge('inputbox-error').innerHTML = LANG.message_enterpassword;
|
|---|
| 22 | _.focus();
|
|---|
| 23 | return false;
|
|---|
| 24 | {rdelim}
|
|---|
| 25 | {rdelim}
|
|---|
| 26 | </script>
|
|---|
| 27 |
|
|---|
| 28 | <form action="?account=signin&next=?{$query}" method="post" onsubmit="return inputBoxValidate(this)">
|
|---|
| 29 | <div class="inputbox" style="position: relative">
|
|---|
| 30 | <h1>{#Sign_in_to_your_Game_Account#}</h1>
|
|---|
| 31 | <div id="inputbox-error">{if $signin_error}{$signin_error}{/if}</div>
|
|---|
| 32 |
|
|---|
| 33 | <table align="center">
|
|---|
| 34 | <tr>
|
|---|
| 35 | <td align="right">{#Username#}:</td>
|
|---|
| 36 | <td><input type="text" name="username" value="" maxlength="16" id="username-generic" style="width: 10em" /></td>
|
|---|
| 37 | </tr>
|
|---|
| 38 | <tr>
|
|---|
| 39 | <td align="right">{#Password#}:</td>
|
|---|
| 40 | <td><input type="password" name="password" style="width: 10em" /></td>
|
|---|
| 41 | </tr>
|
|---|
| 42 | <tr>
|
|---|
| 43 | <td align="right" valign="top"><input type="checkbox" name="remember_me" id="remember_me" value="yes" checked="checked" /></td>
|
|---|
| 44 | <td>
|
|---|
| 45 | <label for="remember_me">{#Remember_me_on_this_computer#}</label>
|
|---|
| 46 | <div class="pad2"></div>
|
|---|
| 47 | <input type="submit" value="{#Sign_in#}" />
|
|---|
| 48 | </td>
|
|---|
| 49 | </tr>
|
|---|
| 50 | </table>
|
|---|
| 51 | </div>
|
|---|
| 52 | </form>
|
|---|
| 53 |
|
|---|
| 54 | <div class="pad3"></div>
|
|---|
| 55 | {if $register}<div style="text-align: center; line-height: 1.5em; font-size: 125%">{#Dont_have_an_account#}? <a href="?account=signup">{#Create_one_now#}!</a></div>{/if}
|
|---|
| 56 | <script type="text/javascript">ge('username-generic').focus()</script>
|
|---|
| 57 | <div class="clear"></div>
|
|---|
| 58 | </div>
|
|---|
| 59 | </div>
|
|---|
| 60 |
|
|---|
| 61 | {include file='footer.tpl'}
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.