git-svn-id: http://xe-core.googlecode.com/svn/trunk@1459 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-05-18 01:50:52 +00:00
parent 82e629553e
commit 7d23749ee7
14 changed files with 100 additions and 35 deletions

View file

@ -100,14 +100,16 @@
<!-- step 3. 회원 동기화 시작 버튼 -->
<div id="step3" style="display:none">
<div style="font-weight:bold">{$lang->import_step_title[3]}</div>
<div>{$lang->import_step_desc[3]}</div>
<div>
{$lang->msg_sync_member}
</div>
<div>
<input type="button" value="{$lang->cmd_sync_member}" />
</div>
<form action="./" method="get" onsubmit="return doStep3(this)">
<div style="font-weight:bold">{$lang->import_step_title[3]}</div>
<div>{$lang->import_step_desc[3]}</div>
<div>
{$lang->msg_sync_member}
</div>
<div>
<input type="submit" value="{$lang->cmd_sync_member}" />
</div>
</form>
</div>
<!-- final step. 진행 완료 또는 실패 메세지 -->

View file

@ -103,3 +103,14 @@ function doManualProcess() {
var fo_obj = xGetElementById('fo_step2');
procFilter(fo_obj, import_xml);
}
/* 회원정보와 게시물의 싱크 */
function doStep3(fo_obj) {
exec_xml('importer','procImporterAdminSync', new Array(), completeStep3);
return false;
}
function completeStep3(ret_obj) {
alert(ret_obj['message']);
location.href=location.href;
}