mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-30 00:29:58 +09:00
#19144425 회원가입시 비밀번호 찾기를 위한 질의/응답 추가, #19111136 회원가입약관 nl2br 제거, #19144180 비밀번호 갱신 알림 기능 추가, #19141507 아이디 패스워드 찾기시 SSL 적용
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7693 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
1fa2e99408
commit
14389fdc13
28 changed files with 470 additions and 12 deletions
|
|
@ -0,0 +1,14 @@
|
|||
<filter name="find_member_account_by_question" module="member" act="procMemberFindAccountByQuestion">
|
||||
<form>
|
||||
<node target="user_id" required="true" />
|
||||
<node target="email_address" required="true" minlength="2" maxlength="255" filter="email" />
|
||||
<node target="find_account_question" required="true" />
|
||||
<node target="find_account_answer" required="true" maxlength="250" />
|
||||
</form>
|
||||
<parameter />
|
||||
<response callback_func="completeFindMemberAccountByQuestion">
|
||||
<tag name="error" />
|
||||
<tag name="message" />
|
||||
<tag name="user_id" />
|
||||
</response>
|
||||
</filter>
|
||||
|
|
@ -3,12 +3,16 @@
|
|||
<node target="user_name" required="true" minlength="2" maxlength="40" />
|
||||
<node target="nick_name" required="true" minlength="2" maxlength="40" />
|
||||
<node target="email_address" required="true" minlength="1" maxlength="200" filter="email" />
|
||||
<node target="find_account_question" required="true" />
|
||||
<node target="find_account_answer" required="true" maxlength="250" />
|
||||
</form>
|
||||
<parameter>
|
||||
<param name="accept_agreement" target="accept_agreement" />
|
||||
<param name="user_name" target="user_name" />
|
||||
<param name="nick_name" target="nick_name" />
|
||||
<param name="homepage" target="homepage" />
|
||||
<param name="nick_name" target="nick_name" />
|
||||
<param name="find_account_question" target="find_account_question" />
|
||||
<param name="find_account_answer" target="find_account_answer" />
|
||||
<param name="blog" target="blog" />
|
||||
<param name="birthday" target="birthday" />
|
||||
<param name="allow_mailing" target="allow_mailing" />
|
||||
|
|
|
|||
|
|
@ -6,6 +6,8 @@
|
|||
<node target="user_name" required="true" minlength="2" maxlength="40" />
|
||||
<node target="nick_name" required="true" minlength="2" maxlength="40" />
|
||||
<node target="email_address" required="true" minlength="1" maxlength="200" filter="email" />
|
||||
<node target="find_account_question" required="true" />
|
||||
<node target="find_account_answer" required="true" maxlength="250" />
|
||||
</form>
|
||||
<parameter>
|
||||
<param name="accept_agreement" target="accept_agreement" />
|
||||
|
|
@ -14,6 +16,8 @@
|
|||
<param name="password" target="password1" />
|
||||
<param name="user_name" target="user_name" />
|
||||
<param name="nick_name" target="nick_name" />
|
||||
<param name="find_account_question" target="find_account_question" />
|
||||
<param name="find_account_answer" target="find_account_answer" />
|
||||
<param name="homepage" target="homepage" />
|
||||
<param name="blog" target="blog" />
|
||||
<param name="birthday" target="birthday" />
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
<!--#include("./common_header.html")-->
|
||||
<!--%import("filter/find_member_account.xml")-->
|
||||
<!--%import("filter/find_member_account_by_question.xml")-->
|
||||
|
||||
<h3>{$member_title = $lang->cmd_find_member_account}</h3>
|
||||
<h3>{$lang->cmd_find_member_account}</h3>
|
||||
|
||||
<p class="summary">{$lang->about_find_member_account}</p>
|
||||
|
||||
|
|
@ -20,4 +21,46 @@
|
|||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
|
||||
<!--@if(count($lang->find_account_question_items)>1)-->
|
||||
<h3>{$lang->cmd_find_member_account}</h3>
|
||||
|
||||
<p class="summary">{$lang->about_find_account_question}</p>
|
||||
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, find_member_account_by_question)">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="document_srl" value="{$document_srl}" />
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
|
||||
<table cellspacing="0" class="rowTable" title="{$lang->email_address}">
|
||||
<tr>
|
||||
<th><div><label for="cpw">{$lang->user_id}</label></div></th>
|
||||
<td class="wide"><input type="text" name="user_id" class="inputTypeText" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><div><label for="cpw">{$lang->email_address}</label></div></th>
|
||||
<td class="wide"><input type="text" name="email_address" class="inputTypeText w400" /></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th><div><label for="cpw">{$lang->find_account_question}</label></div></th>
|
||||
<td>
|
||||
<select name="find_account_question">
|
||||
<!--@for($i=1,$c=count($lang->find_account_question_items);$i<$c;$i++)-->
|
||||
<option value="{$i}">{$lang->find_account_question_items[$i]}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<br />
|
||||
<input type="text" name="find_account_answer" value="" class="inputTypeText w300"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th class="button" colspan="2"><span class="button black strong"><input type="submit" value="{$lang->cmd_get_temp_password}" accesskey="s" /></span></th>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<!--@end-->
|
||||
|
||||
<!--#include("./common_footer.html")-->
|
||||
|
|
|
|||
8
modules/member/skins/default/find_temp_password.html
Normal file
8
modules/member/skins/default/find_temp_password.html
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<!--#include("./common_header.html")-->
|
||||
|
||||
<h3>{$lang->cmd_find_member_account}</h3>
|
||||
<p class="summary">{$lang->about_find_member_account}</p>
|
||||
|
||||
{$temp_password}
|
||||
|
||||
<!--#include("./common_footer.html")-->
|
||||
|
|
@ -133,6 +133,15 @@ function completeFindMemberAccount(ret_obj, response_tags) {
|
|||
alert(ret_obj['message']);
|
||||
}
|
||||
|
||||
/* 임시 비밀번호 생성 */
|
||||
function completeFindMemberAccountByQuestion(ret_obj, response_tags) {
|
||||
if(ret_obj['error'] != 0){
|
||||
alert(ret_obj['message']);
|
||||
}else{
|
||||
location.href = current_url.setQuery('act','dispMemberGetTempPassword').setQuery('user_id',ret_obj['user_id']);
|
||||
}
|
||||
}
|
||||
|
||||
/* 저장글 삭제 */
|
||||
function doDeleteSavedDocument(document_srl, confirm_message) {
|
||||
if(!confirm(confirm_message)) return false;
|
||||
|
|
|
|||
|
|
@ -51,6 +51,19 @@
|
|||
<th><div>{$lang->email_address} <span class="require">*</span></div></th>
|
||||
<td><input type="text" name="email_address" value="{htmlspecialchars($member_info->email_address)}" /><p>{$lang->about_email_address}</p></td>
|
||||
</tr>
|
||||
<!--@if($member_info->find_account_question)-->
|
||||
<tr>
|
||||
<th><div>{$lang->find_account_question} <span class="require">*</span></div></th>
|
||||
<td>
|
||||
<select name="find_account_question">
|
||||
<!--@for($i=1,$c=count($lang->find_account_question_items);$i<$c;$i++)-->
|
||||
<option value="{$i}" <!--@if($member_info->find_account_question==$i)-->selected="selected" <!--@end-->>{$lang->find_account_question_items[$i]}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<br /><input type="text" name="find_account_answer" value="{$member_info->find_account_answer}" class="inputTypeText w300"/>
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($member_config->profile_image == 'Y')-->
|
||||
<tr>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
<!--@if(!$is_logged && $member_config->agreement)-->
|
||||
<div class="agreementBox">
|
||||
{nl2br($member_config->agreement)}
|
||||
{$member_config->agreement}
|
||||
</div>
|
||||
<div class="agreementButton">
|
||||
<input type="checkbox" name="accept_agreement" value="Y" id="accept_agree" />
|
||||
|
|
@ -56,6 +56,20 @@
|
|||
<input type="text" name="email_address" value="" class="inputTypeText"/><p>{$lang->about_email_address}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<!--@if(count($lang->find_account_question_items)>1)-->
|
||||
<tr>
|
||||
<th><div>{$lang->find_account_question} <span class="require">*</span></div></th>
|
||||
<td>
|
||||
<select name="find_account_question">
|
||||
<!--@for($i=1,$c=count($lang->find_account_question_items);$i<$c;$i++)-->
|
||||
<option value="{$i}">{$lang->find_account_question_items[$i]}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<br />
|
||||
<input type="text" name="find_account_answer" value="" class="inputTypeText w300"/>
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<tr>
|
||||
<th><div>{$lang->homepage}</div></th>
|
||||
<td>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue