www.lightcourse.com/app/home/view/default/member/membersecurity/modify_email.html

54 lines
1.7 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{block name="mall_top"}{include file='default/base/mall_top'/}{/block}
{block name="member_header"}{include file='default/base/member_header'/}{/block}
<div class="member_center_back">
<div class="dsm-container">
<div class="right-layout" style="margin-top:50px;">
<div class="dsm-default-form">
<form method="post" id="email_form" action="{:url('/index.php/home/Membersecurity/send_bind_email')}">
<dl>
<dt><i class="required">*</i>Bind email</dt>
<dd>
<input type="text" class="text w180" maxlength="40" value="{$member_info.member_email}" name="email" id="email" />
<label for="email" generated="true" class="error"></label>
</dd>
</dl>
<dl class="bottom">
<dt>&nbsp;</dt>
<dd>
<input type="submit" class="submit" value="Send verification email" />
</dd>
</dl>
</form>
</div>
<script type="text/javascript">
$(function(){
$('#email_form').validate({
submitHandler:function(form){
ds_ajaxpost('email_form', 'url', '{:url('/index.php/home/Membersecurity/index')}')
},
rules : {
email : {
required : true,
email : true
}
},
messages : {
email : {
required : '<i class="iconfont">&#xe64c;</i>Please fill in the email correctly',
email : '<i class="iconfont">&#xe64c;</i>Please fill in the email correctly'
}
}
});
});
</script>
</div>
<div class="clear"></div>
</div>
</div>
{block name="mall_server"}{include file='default/base/mall_server'/}{/block}
{block name="mall_footer"}{include file='default/base/mall_footer'/}{/block}