commit
7f7c2cfb44
@ -1,115 +1,130 @@
|
|||||||
{config_load file="ams_lib.conf" section="setup"}
|
{extends file="layout.tpl"}
|
||||||
<div class="title">
|
{block name=content}
|
||||||
{$title}
|
|
||||||
</div>
|
<div class="row-fluid">
|
||||||
|
<div class="span12 center login-header">
|
||||||
<div>
|
<img src="img/mainlogo.png"/>
|
||||||
{$welcome_message}
|
</div><!--/span-->
|
||||||
</div>
|
</div><!--/row-->
|
||||||
|
|
||||||
<form name="Page1"
|
<div class="row-fluid">
|
||||||
method="post"
|
<div class="well span5 center login-box">
|
||||||
>
|
<div class="alert alert-info">
|
||||||
<table>
|
{$welcome_message}
|
||||||
<tr>
|
</div>
|
||||||
<td width="33%" {if isset($USERNAME_ERROR) && $USERNAME_ERROR eq "TRUE"}class="error"{/if} id="caption-Username">{$username_tag} </td>
|
|
||||||
|
|
||||||
<td width="25%">
|
<form name="Page1"method="post">
|
||||||
<input type="text"
|
<table>
|
||||||
name="Username"
|
<tr>
|
||||||
value="{if isset($Username)}{$Username}{/if}"
|
<td width="33%" {if isset($USERNAME_ERROR) && $USERNAME_ERROR eq "TRUE"}class="error"{/if} id="caption-Username">{$username_tag} </td>
|
||||||
maxlength="12"
|
|
||||||
onfocus=
|
<td width="25%">
|
||||||
"javascript:showTooltip('{$username_tooltip}', this);" />
|
<input type="text"
|
||||||
</td>
|
name="Username"
|
||||||
|
value="{if isset($Username)}{$Username}{/if}"
|
||||||
<td id="comment-Username" {if isset($USERNAME_ERROR) && $USERNAME_ERROR eq "TRUE"}class="error"{/if} width="42%">{if isset($Username)}{$Username}{/if}</td>
|
maxlength="12"
|
||||||
</tr>
|
onfocus=
|
||||||
|
"javascript:showTooltip('{$username_tooltip}', this);" />
|
||||||
<tr>
|
</td>
|
||||||
<td width="33%" {if isset($PASSWORD_ERROR) && $PASSWORD_ERROR eq "TRUE"}class="error"{/if} id="caption-Password">{$password_tag}</td>
|
|
||||||
|
<td id="comment-Username" {if isset($USERNAME_ERROR) && $USERNAME_ERROR eq "TRUE"}class="error"{/if} width="42%">{if isset($Username)}{$Username}{/if}</td>
|
||||||
<td width="25%">
|
</tr>
|
||||||
<input type="password"
|
|
||||||
name="Password"
|
<tr>
|
||||||
value=""
|
<td width="33%" {if isset($PASSWORD_ERROR) && $PASSWORD_ERROR eq "TRUE"}class="error"{/if} id="caption-Password">{$password_tag}</td>
|
||||||
maxlength="20"
|
|
||||||
onkeyup=
|
<td width="25%">
|
||||||
"testPassword(document.Page1.Password.value, 'comment-Password')"
|
<input type="password"
|
||||||
onfocus="javascript:showTooltip('{$password_message}', this);" />
|
name="Password"
|
||||||
</td>
|
value=""
|
||||||
|
maxlength="20"
|
||||||
<td id="comment-Password" {if isset($PASSWORD_ERROR) && $PASSWORD_ERROR eq "TRUE"}class="error"{/if} width="42%">{if isset($PASSWORD_ERROR) && $PASSWORD_ERROR eq "TRUE"}{$Password}{/if}</td>
|
onkeyup=
|
||||||
</tr>
|
"testPassword(document.Page1.Password.value, 'comment-Password')"
|
||||||
|
onfocus="javascript:showTooltip('{$password_message}', this);" />
|
||||||
<tr>
|
</td>
|
||||||
<td width="33%" {if isset($CPASSWORD_ERROR) && $CPASSWORD_ERROR eq "TRUE"}class="error"{/if} id="caption-ConfirmPass">{$cpassword_tag}</td>
|
|
||||||
|
<td id="comment-Password" {if isset($PASSWORD_ERROR) && $PASSWORD_ERROR eq "TRUE"}class="error"{/if} width="42%">{if isset($PASSWORD_ERROR) && $PASSWORD_ERROR eq "TRUE"}{$Password}{/if}</td>
|
||||||
<td width="25%"><input type="password"
|
</tr>
|
||||||
name="ConfirmPass"
|
|
||||||
value=""
|
<tr>
|
||||||
maxlength="20"
|
<td width="33%" {if isset($CPASSWORD_ERROR) && $CPASSWORD_ERROR eq "TRUE"}class="error"{/if} id="caption-ConfirmPass">{$cpassword_tag}</td>
|
||||||
onfocus="javascript:showTooltip('{$cpassword_message}', this);" />
|
|
||||||
</td>
|
<td width="25%"><input type="password"
|
||||||
|
name="ConfirmPass"
|
||||||
<td id="comment-ConfirmPass" {if isset($CPASSWORD_ERROR) && $CPASSWORD_ERROR eq "TRUE"}class="error"{/if} width="42%">{if isset($CPASSWORD_ERROR) && $CPASSWORD_ERROR eq "TRUE"}{$ConfirmPass}{/if}</td>
|
value=""
|
||||||
</tr>
|
maxlength="20"
|
||||||
|
onfocus="javascript:showTooltip('{$cpassword_message}', this);" />
|
||||||
<tr>
|
</td>
|
||||||
<td width="33%" {if isset($CPASSWORD_ERROR) && $CPASSWORD_ERROR eq "TRUE"}class="error"{/if} id="caption-Email">{$email_tag}</td>
|
|
||||||
|
<td id="comment-ConfirmPass" {if isset($CPASSWORD_ERROR) && $CPASSWORD_ERROR eq "TRUE"}class="error"{/if} width="42%">{if isset($CPASSWORD_ERROR) && $CPASSWORD_ERROR eq "TRUE"}{$ConfirmPass}{/if}</td>
|
||||||
<td width="25%">
|
</tr>
|
||||||
<input type="text"
|
|
||||||
name="Email"
|
<tr>
|
||||||
value=""
|
<td width="33%" {if isset($CPASSWORD_ERROR) && $CPASSWORD_ERROR eq "TRUE"}class="error"{/if} id="caption-Email">{$email_tag}</td>
|
||||||
maxlength="255"
|
|
||||||
onfocus=
|
<td width="25%">
|
||||||
"javascript:showTooltip('{$email_message}', this);" />
|
<input type="text"
|
||||||
</td>
|
name="Email"
|
||||||
|
value=""
|
||||||
<td id="comment-Email" {if isset($EMAIL_ERROR) && $EMAIL_ERROR eq "TRUE"}class="error"{/if} width="42%">{if isset($EMAIL_ERROR) && $EMAIL_ERROR eq "TRUE"}{$Email}{/if}</td>
|
maxlength="255"
|
||||||
</tr>
|
onfocus=
|
||||||
|
"javascript:showTooltip('{$email_message}', this);" />
|
||||||
<tr>
|
</td>
|
||||||
<td width=
|
|
||||||
"33%" {if isset($TAC_ERROR) && $TAC_ERROR eq "TRUE"}class="error"{/if}
|
<td id="comment-Email" {if isset($EMAIL_ERROR) && $EMAIL_ERROR eq "TRUE"}class="error"{/if} width="42%">{if isset($EMAIL_ERROR) && $EMAIL_ERROR eq "TRUE"}{$Email}{/if}</td>
|
||||||
colspan="2"><input type="checkbox"
|
</tr>
|
||||||
name="TaC"
|
|
||||||
value="1"
|
<tr>
|
||||||
onfocus="javascript:showTooltip('', this);" /><span id=
|
<td width=
|
||||||
"caption-TaC">{$tac_tag}</span></td>
|
"33%" {if isset($TAC_ERROR) && $TAC_ERROR eq "TRUE"}class="error"{/if}
|
||||||
<td id="comment-TaC" {if isset($TAC_ERROR) && $TAC_ERROR eq "TRUE"}class="error"{/if} width="42%">{$tac_message}</td>
|
colspan="2"><input type="checkbox"
|
||||||
|
name="TaC"
|
||||||
</tr>
|
value="1"
|
||||||
</table>
|
onfocus="javascript:showTooltip('', this);" /><span id=
|
||||||
|
"caption-TaC">{$tac_tag}</span></td>
|
||||||
<div class="c1">
|
<td id="comment-TaC" {if isset($TAC_ERROR) && $TAC_ERROR eq "TRUE"}class="error"{/if} width="42%"><div class="alert alert-danger">{$tac_message}</div></td>
|
||||||
<input type="submit"
|
|
||||||
name="Submit"
|
</tr>
|
||||||
value="Continue" />
|
</table>
|
||||||
</div>
|
|
||||||
<input type="hidden" name="function" value="add_user">
|
<div class="c1">
|
||||||
</form>
|
<input type="submit"
|
||||||
|
name="Submit"
|
||||||
<div id="signupTooltip"
|
value="Continue" />
|
||||||
class="c2"
|
</div>
|
||||||
inset=""></div>
|
<input type="hidden" name="function" value="add_user">
|
||||||
|
</form>
|
||||||
<div id="tooltip-Username">
|
|
||||||
{$username_tooltip}
|
<div id="signupTooltip"
|
||||||
</div>
|
class="c2"
|
||||||
|
inset=""></div>
|
||||||
|
|
||||||
<div id="tooltip-Password">
|
<div id="tooltip-Username">
|
||||||
{$password_message}
|
<div class="alert alert-danger">
|
||||||
</div>
|
{$username_tooltip}
|
||||||
|
</div>
|
||||||
<div id="tooltip-ConfirmPass">
|
</div>
|
||||||
{$cpassword_message}
|
|
||||||
</div>
|
<div id="tooltip-Password">
|
||||||
|
<div class="alert alert-danger">
|
||||||
<div id="tooltip-Email">
|
{$password_message}
|
||||||
{$email_message}
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="tooltip-TaC"></div>
|
<div id="tooltip-ConfirmPass">
|
||||||
|
<div class="alert alert-danger">
|
||||||
|
{$cpassword_message}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="tooltip-Email">
|
||||||
|
<div class="alert alert-danger">
|
||||||
|
{$email_message}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div><!--/span-->
|
||||||
|
</div><!--/row-->
|
||||||
|
{/block}
|
||||||
|
Loading…
Reference in New Issue