mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 12:32:14 +09:00
Fix #2133 apply multilingual form to member extra var editing form
This commit is contained in:
parent
422368d0d7
commit
dba1186074
2 changed files with 6 additions and 6 deletions
|
|
@ -15,7 +15,7 @@
|
||||||
<div class="x_control-group">
|
<div class="x_control-group">
|
||||||
<label for="column_title" class="x_control-label"><em style="color:red">*</em> {$lang->column_title}</label>
|
<label for="column_title" class="x_control-label"><em style="color:red">*</em> {$lang->column_title}</label>
|
||||||
<div class="x_controls">
|
<div class="x_controls">
|
||||||
<input type="text" id="column_title" name="column_title" value="{$formInfo->column_title}" />
|
<input type="text" id="column_title" name="column_title" value="{$formInfo->column_title}" class="lang_code" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="x_control-group">
|
<div class="x_control-group">
|
||||||
|
|
|
||||||
|
|
@ -101,7 +101,7 @@ jQuery(function($){
|
||||||
{member_join_form_srl:memberFormSrl},
|
{member_join_form_srl:memberFormSrl},
|
||||||
function(ret){
|
function(ret){
|
||||||
var tpl = ret.tpl.replace(/\|@\|/g, '\n');
|
var tpl = ret.tpl.replace(/\|@\|/g, '\n');
|
||||||
$('#extendForm').html(tpl);
|
$('#extendForm').html(tpl).find('.lang_code').xeApplyMultilingualUI();
|
||||||
|
|
||||||
if (checked)$('#extendForm #radio_'+checked).attr('checked', 'checked');
|
if (checked)$('#extendForm #radio_'+checked).attr('checked', 'checked');
|
||||||
},
|
},
|
||||||
|
|
@ -109,7 +109,7 @@ jQuery(function($){
|
||||||
);
|
);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
$('a._extendFormDelete').click(function(event){
|
$('a._extendFormDelete').click(function(event){
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
if (!confirm(xe.lang.msg_delete_extend_form)) return;
|
if (!confirm(xe.lang.msg_delete_extend_form)) return;
|
||||||
|
|
@ -135,7 +135,7 @@ jQuery(function($){
|
||||||
$('#prohibited_id').focus();
|
$('#prohibited_id').focus();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ids = ids.replace(/\n/g, ',');
|
ids = ids.replace(/\n/g, ',');
|
||||||
|
|
||||||
|
|
@ -193,7 +193,7 @@ jQuery(function($){
|
||||||
$('#prohibited_nick_name').focus();
|
$('#prohibited_nick_name').focus();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ids = ids.replace(/\n/g, ',');
|
ids = ids.replace(/\n/g, ',');
|
||||||
|
|
||||||
|
|
@ -217,7 +217,7 @@ jQuery(function($){
|
||||||
jQuery.exec_json('member.procMemberAdminUpdateDeniedNickName', {'nick_name': ids}, on_complete);
|
jQuery.exec_json('member.procMemberAdminUpdateDeniedNickName', {'nick_name': ids}, on_complete);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#userDefine').submit(function(e) {
|
$('#userDefine').submit(function(e) {
|
||||||
var id_list = $(this).find('input[name=join_form_id_list]').val();
|
var id_list = $(this).find('input[name=join_form_id_list]').val();
|
||||||
var id_list_arr = id_list.split(',');
|
var id_list_arr = id_list.split(',');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue