제로보드 이전 모듈 보완

git-svn-id: http://xe-core.googlecode.com/svn/trunk@2274 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-08-09 11:41:37 +00:00
parent 988a44756f
commit 6b6303ff79
11 changed files with 48 additions and 24 deletions

View file

@ -1,6 +1,7 @@
<filter name="step12" module="importer" act="procImporterAdminStep12">
<form>
<node target="target_module" required="true" />
<node target="target_path" required="true" />
</form>
<parameter />
<response callback_func="completeStep12">

View file

@ -48,6 +48,13 @@
</select>
</div>
<br />
<div class="desc">{nl2br($lang->about_target_path)}</div>
<div>
Path/URL : <input type="text" name="target_path" id="target_path" class="inputTypeText w400" />
</div>
<div class="tRight gap1">
<span class="button"><input type="submit" value="{$lang->cmd_next}" /></span>
</div>
@ -76,6 +83,7 @@
<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" />

View file

@ -75,6 +75,9 @@ function doStep2(fo_obj) {
fo_obj.category_srl.value = category_srl;
}
var target_path = xGetElementById("target_path").value;
fo_obj.target_path.value = target_path;
procFilter(fo_obj, import_xml);
@ -100,7 +103,7 @@ function completeImport(ret_obj) {
if(is_finished=='Y') {
alert(ret_obj["message"]);
location.href = location.href;
//location.href = location.href;
} else {
var fo_obj = xGetElementById('fo_step2');
fo_obj.position.value = position;