ecshop二次开发
ECSHOP用户中心修改"用户信息"增加会员密码问题验证
ECSHOP用户中心修改"用户信息"增加会员密码问题验证
目的增加会员安全性,修改会员密码需要,问题验证
教程开始
1、themes\default\user_transaction.dwt 将
<select name=
'sel_question'
>
<option value=
'0'
>{
$lang
.sel_question}</option>
{html_options options=
$passwd_questions
selected=
$profile
.passwd_question}
</select>
修改为
<select name=
'sel_question'
onblur=
"checkSelQuestion(this.value);"
id=
"sel_question"
>
<option value=
'0'
>{
$lang
.sel_question}</option>
{html_options options=
$passwd_questions
selected=
$profile
.passwd_question}
</select>
<span id=
"sel_question_notice"
style=
"color:#FF0000"
> *</span>
将
<input name=
"passwd_answer"
type=
"text"
size=
"25"
class
=
"inputBg"
maxlengt=
'20'
value=
"{$profile.passwd_answer}"
/><!-- {
if
$field
.is_need} --><span style=
"color:#FF0000"
> *</span><!-- {/
if
} -->
修改为
相关资讯<input name=
"passwd_answer"
type=
"text"
size=
"25"
class
=
"inputBg"
maxlengt=
'20'