rhymix/modules/member/tpl/js/default_config.js
Kijin Sung 81882e8420 Add option to use a specific string in the URL to bypass disabled signup page
회원 가입을 닫아놓은 상태에서는 관리자도 회원 가입 기능을 테스트할 수 없는
문제를 해소하기 위해, 관리자가 설정한 특정한 문자열을 URL에 포함할 경우
회원 가입 페이지에 접근할 수 있도록 허용하는 옵션 추가
2022-10-11 22:19:32 +09:00

20 lines
489 B
JavaScript

jQuery(function($){
$('input[name=enable_join]').on('change', function() {
if ($('#enable_join_only_with_key').is(':checked')) {
$('#enable_join_key').show();
} else {
$('#enable_join_key').hide();
}
});
$('.__sync').click(function (){
exec_xml(
'importer', // module
'procImporterAdminSync', // act
null,
function(ret){if(ret && (!ret.error || ret.error == '0'))alert(ret.message);}, // callback
resp = ['error','message'] // response tags
);
});
});