mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
90 lines
4.7 KiB
HTML
90 lines
4.7 KiB
HTML
<include target="./common_header.html" />
|
|
<load target="./js/signup_check.js" />
|
|
<load target="./lang" />
|
|
<!--// datepicker javascript plugin load -->
|
|
<!--%load_js_plugin("ui")-->
|
|
<!--%load_js_plugin("ui.datepicker")-->
|
|
<div class="prn-narrow">
|
|
<section class="prn-body">
|
|
<h1>{$lang->msg_update_member}</h1>
|
|
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/member/skins/rx_prn/1'" class="rx_member-notice {$XE_VALIDATOR_MESSAGE_TYPE}">
|
|
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
|
</div>
|
|
<div class="rx_member-notice info">
|
|
<p>{lang('member_rx_prn_about_star')}</p>
|
|
</div>
|
|
<form ruleset="@insertMember" id="rx_insert_member" action="./" method="post" enctype="multipart/form-data" class="form-horizontal">
|
|
<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, ENT_COMPAT | ENT_HTML401, 'UTF-8', false)}" />
|
|
<input type="hidden" name="page" value="{$page}" />
|
|
<input type="hidden" name="xe_validator_id" value="modules/member/skins/rx_prn/1" />
|
|
<div class="control-group">
|
|
<block loop="$formTags => $item">
|
|
<div class="prn-profile_image" cond="$item->name === 'profile_image'">
|
|
{$item->inputTag}
|
|
</div>
|
|
</block>
|
|
<label for="{$identifierForm->name}">{$identifierForm->title}<sup style="color:red">*</sup></label>
|
|
<input type="text" name="{$identifierForm->name}" id="{$identifierForm->name}" value="{$identifierForm->value}" readonly />
|
|
<block loop="$formTags=>$formTag" cond="$formTag->name !== 'profile_image'">
|
|
<label for="{$formTag->name}" class="control-label">{trim(str_replace('*','',strip_tags($formTag->title)))}<!--@if(strpos($formTag->title,'<em style="color:red">*</em>') !== false)--><sup style="color:red">*</sup><!--@endif--></label>
|
|
<block cond="$formTag->name != 'signature'">{$formTag->inputTag}</block>
|
|
<block cond="$formTag->name =='signature'">{$editor|noescape}</block>
|
|
</block>
|
|
<label class="control-label">{$lang->allow_mailing}</label>
|
|
<div class="controls">
|
|
<label for="mailingYes"><input type="radio" name="allow_mailing" id="mailingYes" value="Y" checked="checked"|cond="$member_info->allow_mailing == 'Y'"> {$lang->cmd_yes}</label>
|
|
<label for="mailingNo"><input type="radio" name="allow_mailing" id="mailingNo" value="N" checked="checked"|cond="$member_info->allow_mailing != 'Y'" > {$lang->cmd_no}</label>
|
|
</div>
|
|
<label class="control-label">{$lang->allow_message}</label>
|
|
<div class="controls">
|
|
<label for="allow_{$key}" loop="$lang->allow_message_type=>$key,$val"><input type="radio" name="allow_message" value="{$key}" checked="checked"|cond="$member_info->allow_message == $key" id="allow_{$key}" /> {$val}</label>
|
|
</div>
|
|
<input type="submit" value="{$lang->cmd_registration}" />
|
|
</div>
|
|
</form>
|
|
</section>
|
|
<script>
|
|
//<!--
|
|
xe.lang.deleteProfileImage = '{$lang->msg_delete_extend_form}';
|
|
xe.lang.deleteImageMark = '{$lang->msg_delete_extend_form}';
|
|
xe.lang.deleteImageName = '{$lang->msg_delete_extend_form}';
|
|
xe.lang.cmd_delete = '{$lang->cmd_delete}';
|
|
xe.lang.cmd_upload = '{$lang->cmd_upload}';
|
|
var prn_profile_image = {}, prn_member_srl = '{$member_info->member_srl}';
|
|
prn_profile_image['exists'] = <!--@if($member_info->profile_image->src)-->true<!--@else-->false<!--@end-->, prn_profile_image['src'] = "<!--@if($member_info->profile_image->src)-->{escape($member_info->profile_image->src)}<!--@else-->./modules/member/m.skins/rx_prn/images/member.svg<!--@end-->", prn_profile_image['width'] = "{$member_config->profile_image_max_width}", prn_profile_image['height'] = "{$member_config->profile_image_max_height}", prn_profile_image['alt'] = "{lang('member.profile_image')}";
|
|
|
|
$(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).prevUntil("label").val('');
|
|
return false;
|
|
});
|
|
});
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<include target="./common_footer.html" />
|