importer 모듈을 새로운 xml migration데이터에 맞춰서 작성 완료.

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3335 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-12-13 13:07:45 +00:00
parent ff54da3cbd
commit d17132422e
19 changed files with 895 additions and 719 deletions

View file

@ -1,8 +1,5 @@
<!--%import("js/importer_admin.js")-->
<!--%import("css/importer.js")-->
<!--%import("filter/step1.xml")-->
<!--%import("filter/step12.xml")-->
<!--%import("filter/import_xml.xml")-->
<!--%import("css/importer.css")-->
<h3>{$lang->importer} <span class="gray">{$lang->cmd_management}</span></h3>
@ -11,22 +8,24 @@
<!-- step 1. import하려는 XML파일의 성격 및 대상 모듈을 지정 -->
<div id="step1">
<form action="./" method="get" onsubmit="return procFilter(this, step1);">
<form action="./" method="get">
<input type="hidden" name="module" value="{$module}" />
<input type="hidden" name="act" value="{$act}" />
<table cellspacing="0" class="adminTable">
<col width="150" />
<col />
<caption>{$lang->import_step_title[1]} - {$lang->import_step_desc[1]}</caption>
<tr>
<th scope="col"><label for="source_type_module">{$lang->type_module}</label></th>
<td class="left"><input type="radio" name="source_type" value="module" id="source_type_module" /> {$lang->about_type_module}</td>
<td class="left"><input type="radio" name="source_type" value="module" id="source_type_module" /> <label for="source_type_module">{$lang->about_type_module}</label></td>
</tr>
<tr>
<th scope="col"><label for="source_type_member">{$lang->type_member}</label></th>
<td class="left"><input type="radio" name="source_type" value="member" id="source_type_member" /> {$lang->about_type_member}</td>
<td class="left"><input type="radio" name="source_type" value="member" id="source_type_member" /> <label for="source_type_member">{$lang->about_type_member}</label></td>
</tr>
<tr>
<th scope="col"><label for="source_type_syncmember">{$lang->type_syncmember}</label></th>
<td class="left"><input type="radio" name="source_type" value="syncmember" id="source_type_syncmember" /> {$lang->about_type_syncmember}</td>
<td class="left"><input type="radio" name="source_type" value="sync" id="source_type_syncmember" /> <label for="source_type_syncmember">{$lang->about_type_syncmember}</label></td>
</tr>
<tr>
<th scope="row" colspan="2" class="button">
@ -37,98 +36,3 @@
</form>
</div>
<!-- step 1-2. 대상이 게시물 정보일 경우 대상 모듈 목록을 선택하도록 함 -->
<div id="step12" style="display:none">
<form action="./" method="get" onsubmit="return procFilter(this, step12);">
<table cellspacing="0" class="adminTable">
<caption>{$lang->import_step_title[12]} - {$lang->import_step_desc[12]}</caption>
<tr>
<td><select name="target_module" id="target_module"></select></td>
</tr>
</table>
<table cellspacing="0" class="adminTable">
<col width="150" />
<col />
<caption>{nl2br($lang->about_target_path)}</caption>
<tr>
<th>Path/URL</th>
<td><input type="text" name="target_path" id="target_path" class="inputTypeText w400" /></td>
</tr>
<tr>
<th scope="row" colspan="2" class="button">
<span class="button"><input type="submit" value="{$lang->cmd_next}" /></span>
</th>
</tr>
</table>
</form>
</div>
<!-- step 1-3. 대상이 게시물 정보일 경우 모듈 선택후 분류가 있으면 분류 선택을 하도록 함 -->
<div id="step13" style="display:none">
<form action="./" method="get" onsubmit="return doStep13(this)">
<table cellspacing="0" class="adminTable">
<caption>{$lang->import_step_title[13]} - {$lang->import_step_desc[13]}</caption>
<tr>
<td><select name="target_category" id="target_category"><option value=""></option></select></td>
</tr>
<tr>
<th class="button"><span class="button"><input type="submit" value="{$lang->cmd_next}" /></span></th>
</tr>
</table>
</form>
</div>
<!-- step 2. XML 파일 지정 -->
<div id="step2" style="display:none">
<form action="./" method="get" onsubmit="return doStep2(this)" id="fo_step2">
<input type="hidden" name="module_srl" value="" />
<input type="hidden" name="target_path" value="" />
<input type="hidden" name="category_srl" value="" />
<input type="hidden" name="position" value="0" />
<input type="hidden" name="file_point" value="0" />
<input type="hidden" name="total_count" value="0" />
<table cellspacing="0" class="adminTable">
<caption>{$lang->import_step_title[2]} - {$lang->import_step_desc[2]}</caption>
<tr>
<td>
<input type="text" name="xml_file" value="./" class="inputTypeText w400" />
</td>
</tr>
<tr>
<th class="button"><span class="button"><input type="submit" value="{$lang->cmd_next}" /></span></th>
</tr>
</table>
<div id="step2_status" style="display:none;" class="gap1">
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="margin-bottom:10px;">
<col />
<col width="120" />
<tr>
<td><div id="bar" style="width:1px;height:10px;background-color:#EFEFEF;border:1px solid #888888"></div></td>
<td class="tRight"><span id="bar_status"></span>
</tr>
</table>
<div id="step2_position" style="height:100px;overflow-y:scroll;border:2px solid #DDDDDD;padding:10px;" class="desc"></div>
<div class="tRight gap1">
<span class="button"><input type="button" value="{$lang->cmd_continue}" onclick="doManualProcess(); return false" /></span>
</div>
</div>
</form>
</div>
<!-- step 3. 회원 동기화 시작 버튼 -->
<div id="step3" style="display:none">
<form action="./" method="get" onsubmit="return doStep3(this)">
<table cellspacing="0" class="adminTable">
<caption>{$lang->import_step_title[3]} - {$lang->import_step_desc[3]}</caption>
<tr>
<th class="button"><span class="button"><input type="submit" value="{$lang->cmd_sync_member}" /></span></th>
</tr>
</table>
</form>
</div>
<!-- final step. 진행 완료 또는 실패 메세지 -->
<div id="step_finish" style="display:none;"></div>