mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
81 lines
3.3 KiB
HTML
81 lines
3.3 KiB
HTML
<load target="../../tpl/js/signup_check.js" />
|
|
<load target="../../tpl/js/member_admin.js" />
|
|
<load target="css/msignup.css" />
|
|
|
|
<!--// datepicker javascript plugin load -->
|
|
<!--%load_js_plugin("ui")-->
|
|
<!--%load_js_plugin("ui.datepicker")-->
|
|
|
|
<script type="text/javascript" >
|
|
xe.lang.deleteProfileImage = '{$lang->msg_delete_extend_form}';
|
|
xe.lang.deleteImageMark = '{$lang->msg_delete_extend_form}';
|
|
xe.lang.deleteImageName = '{$lang->msg_delete_extend_form}';
|
|
</script>
|
|
<h2 class="hx h2">{$lang->msg_update_member}</h2>
|
|
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/member/m.skin/default/modify_info/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
|
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
|
</div>
|
|
<div class="bd">
|
|
<form ruleset="@insertMember" id="fo_insert_member" class="ff" action="./" method="post" enctype="multipart/form-data">
|
|
<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="{escape($member_info->signature)}" />
|
|
<input type="hidden" name="page" value="{$page}" />
|
|
<input type="hidden" name="xe_validator_id" value="modules/member/m.skin/default/modify_info/1" />
|
|
|
|
<fieldset class="sn">
|
|
<ul>
|
|
<li cond="$identifierForm->name !== 'phone_number'">
|
|
<label for="identifierForm">{$identifierForm->title} <em style="color:red">*</em></label>
|
|
<input id="identifierForm" type="text" name="{$identifierForm->name}" value="{$identifierForm->value}" disabled="disabled" />
|
|
<input type="hidden" name="{$identifierForm->name}" value="{$identifierForm->value}" />
|
|
</li>
|
|
<li loop="$formTags=>$formTag">
|
|
<label for="{$formTag->name}">{$formTag->title}</label>
|
|
<div cond="$formTag->name != 'signature'">{$formTag->inputTag}</div>
|
|
<div cond="$formTag->name =='signature'">
|
|
{$editor|noescape}
|
|
</div>
|
|
</li>
|
|
<li><label for="mailing" class="db fb al">{$lang->allow_mailing}</label><input id="mailing" type="checkbox" name="allow_mailing" value="Y" class="checkbox" <!--@if($member_info->allow_mailing!='N')-->checked="checked"<!--@end--> /> <p style="color:#666">{$lang->about_allow_mailing}</p></li>
|
|
</ul>
|
|
</fieldset>
|
|
<div class="bna">
|
|
<input type="submit" value="{$lang->cmd_registration}" class="bn dark"/>
|
|
<a href="{getUrl('act','dispMemberInfo','member_srl','')}" class="bn"><span>{$lang->cmd_cancel}</span></a>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
<script>
|
|
(function($){
|
|
$(function(){
|
|
// check if the browser support type date.
|
|
if ( $(".inputDate").prop('type') != 'date' ) {
|
|
var option = {
|
|
changeMonth: true,
|
|
changeYear: true,
|
|
gotoCurrent: false,
|
|
yearRange:'-200:+10',
|
|
dateFormat:'yy-mm-dd',
|
|
defaultDate: new Date("{date('Y-m-d',time())}"),
|
|
minDate: new Date("{date('Y-m-d',strtotime('-200 years'))}"),
|
|
|
|
onSelect:function(){
|
|
$(this).prev('input[type="hidden"]').val(this.value.replace(/-/g,""))
|
|
}
|
|
};
|
|
$.extend($.datepicker.regional['{$lang_type}'],option);
|
|
|
|
//if the browser does not support type date input, start datepicker. If it does, brower's UI will show their datepicker.
|
|
$(".inputDate").datepicker(option);
|
|
} else {
|
|
$(".inputDate").prop('readonly', false);
|
|
}
|
|
$(".dateRemover").click(function() {
|
|
$(this).prevAll('input').val('');
|
|
return false;});
|
|
});
|
|
})(jQuery);
|
|
</script>
|