issue 46 validator apply to member module.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8533 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-06-23 06:03:29 +00:00
parent c9e03ed1a4
commit 525d8e3f5f
17 changed files with 151 additions and 32 deletions

View file

@ -1,9 +1,9 @@
<!--#include("./common_header.html")-->
<!--%import("filter/leave_member.xml")-->
<h3>{$member_title = $lang->msg_leave_member}</h3>
<form id="fo_insert_member" action="./" method="get" onsubmit="return procFilter(this, leave_member)">
<p class="xe_validator_error">{$XE_VALIDATOR_ERROR}</p>
<form ruleset="leaveMember" id="fo_insert_member" action="./" method="post">
<input type="hidden" name="act" value="procMemberLeave" />
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="document_srl" value="{$document_srl}" />
<input type="hidden" name="page" value="{$page}" />

View file

@ -1,5 +1,4 @@
<!--#include("./common_header.html")-->
<!--%import("filter/login.xml")-->
<!--%import("filter/openid_login.xml")-->
<script type="text/javascript">
@ -8,11 +7,13 @@
</script>
<!-- XE 로그인 폼 -->
<p class="xe_validator_error">{$XE_VALIDATOR_ERROR}</p>
<div class="memberSmallBox">
<div class="header">{$lang->cmd_login}</div>
<form action="./" method="post" onsubmit="return procFilter(this, login)" id="fo_member_login">
<form ruleset="login" action="./" method="post" id="fo_member_login">
<input type="hidden" name="act" value="procMemberLogin" />
<fieldset class="login">
<dl>
<dt><label for="uid">{$lang->user_id}</label></dt>
@ -45,7 +46,9 @@
<div class="header">{$lang->openid}</div>
<form action="{getUrl('module','member','act','procMemberOpenIDLogin')}" method="post" onsubmit="return procFilter(this, openid_login)">
<form ruleset="openidLogin" action="./" method="post">
<input type="hidden" name="module" value="member" />
<input type="hidden" name="act" value="procMemberOpenIDLogin" />
<fieldset class="login">
<dl>
<dt><label for="open_uid">{$lang->user_id}</label></dt>

View file

@ -1,7 +1,6 @@
<!--#include("./common_header.html")-->
<!--%import("../../tpl/js/signup_check.js")-->
<!--%import("filter/modify_info.xml")-->
<!--@if($member_config->profile_image == 'Y')-->
<!--%import("filter/delete_profile_image.xml")-->
<!--@end-->
@ -25,8 +24,9 @@
<h3>{$lang->msg_update_member}</h3>
<form id="fo_insert_member" action="{getUrl()}" method="post" onsubmit="return procFilter(this, modify_info)" <!--@if($member_config->profile_image == 'Y' || $member_config->image_name=='Y' || $member_config->image_mark=='Y')-->enctype="multipart/form-data"<!--@end--> target="tmp_upload_iframe">
<input type="hidden" name="act" value="" />
<p class="xe_validator_error">{$XE_VALIDATOR_ERROR}</p>
<form ruleset="modifyInfo" id="fo_insert_member" action="{getUrl()}" method="post" <!--@if($member_config->profile_image == 'Y' || $member_config->image_name=='Y' || $member_config->image_mark=='Y')-->enctype="multipart/form-data"<!--@end-->>
<input type="hidden" name="act" value="procMemberModifyInfo" />
<input type="hidden" name="module" value="member" />
<input type="hidden" name="member_srl" value="{$member_info->member_srl}" />
<input type="hidden" name="signature" value="{htmlspecialchars($member_info->signature)}" />
@ -78,7 +78,7 @@
<div class="memberImage">
<div class="form"><input type="file" name="profile_image" value="" /></div>
<a href="#" onclick="doUploadProfileImage();return false;" class="button"><span>{$lang->cmd_registration}</span></a>
<button type="submit" name="act" value="procMemberInsertProfileImage">{$lang->cmd_registration}</button>
</div>
<p>{$lang->profile_image_max_width} : {$member_config->profile_image_max_width}px, {$lang->profile_image_max_height} : {$member_config->profile_image_max_height}px</p>
</td>
@ -97,7 +97,7 @@
<div class="memberImage">
<div class="form"><input type="file" name="image_name" value="" /></div>
<a href="#" onclick="doUploadImageName();return false;" class="button"><span>{$lang->cmd_registration}</span></a>
<button type="submit" name="act" value="procMemberInsertImageName">{$lang->cmd_registration}</button>
</div>
<p>{$lang->image_name_max_width} : {$member_config->image_name_max_width}px, {$lang->image_name_max_height} : {$member_config->image_name_max_height}px</p>
</td>
@ -116,7 +116,7 @@
<div class="memberImage">
<div class="form"><input type="file" name="image_mark" value="" /></div>
<a href="#" onclick="doUploadImageMark();return false;" class="button"><span>{$lang->cmd_registration}</span></a>
<button type="submit" name="act" value="procMemberInsertImageMark">{$lang->cmd_registration}</button>
</div>
<p>{$lang->image_mark_max_width} : {$member_config->image_mark_max_width}px, {$lang->image_mark_max_height} : {$member_config->image_mark_max_height}px</p>
</td>

View file

@ -1,7 +1,7 @@
<!--#include("./common_header.html")-->
<!--%import("filter/modify_password.xml")-->
<h3>{$member_title = $lang->cmd_modify_member_password}</h3>
<form id="fo_insert_member" action="./" method="get" onsubmit="return procFilter(this, modify_password)">
<form ruleset="modifyPassword" id="fo_insert_member" action="./" method="post">
<input type="hidden" name="act" value="procMemberModifyPassword" />
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="document_srl" value="{$document_srl}" />
<input type="hidden" name="page" value="{$page}" />

View file

@ -1,9 +1,10 @@
<!--%import("filter/resend_auth_mail.xml")-->
<!--%import("css/default.css")-->
<!--%import("js/member.js")-->
<div id="memberModule">
<form action="./" method="post" onsubmit="return procFilter(this, resend_auth_mail)">
<p class="xe_validator_error">{$XE_VALIDATOR_ERROR}</p>
<form ruleset="resendAuthMail" action="./" method="post">
<input type="hidden" name="act" value="procMemberResendAuthMail" />
<h3>{$lang->cmd_resend_auth_mail}</h3>
<div class="infoText">{$lang->about_resend_auth_mail}</div>
<table cellspacing="0" class="rowTable">

View file

@ -1,5 +1,4 @@
<!--%import("../../tpl/js/signup_check.js")-->
<!--%import("filter/signup.xml")-->
<!--// datepicker javascript plugin load -->
<!--%load_js_plugin("ui")-->
@ -9,7 +8,9 @@
<h3>{$lang->cmd_signup}</h3>
<form id="fo_insert_member" action="./" method="get" onsubmit="return procFilter(this, signup)">
<p class="xe_validator_error">{$XE_VALIDATOR_ERROR}</p>
<form ruleset="signup" id="fo_insert_member" action="./" method="post">
<input type="hidden" name="act" value="procMemberInsert" />
<!--@if(!$is_logged && $member_config->agreement)-->
<div class="agreementBox">