mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
#12 현재 기본 패키지에 포함된 블로그/게시판/페이지/외부페이지의 모듈 복사 기능 추가. 추가되는 모듈들도 복사할 수 있도록 module의 기본 기능으로 추가하였음
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2619 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8577a213d4
commit
1d45f520e1
22 changed files with 204 additions and 4 deletions
87
modules/module/tpl/copy_module.html
Normal file
87
modules/module/tpl/copy_module.html
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
<!--%import("js/module_admin.js")-->
|
||||
<!--%import("filter/copy_module.xml")-->
|
||||
|
||||
<div id="popHeadder">
|
||||
<h1>{$lang->module_copy}</h1>
|
||||
</div>
|
||||
|
||||
<form action="./" method="post" onsubmit="return procFilter(this, copy_module)" >
|
||||
<input type="hidden" name="module_srl" value="{$module_info->module_srl}" />
|
||||
|
||||
<div id="popBody">
|
||||
|
||||
<table cellspacing="0" class="tableType5">
|
||||
<col width="140" />
|
||||
<col />
|
||||
<tr>
|
||||
<th scope="row">{$lang->module}</th>
|
||||
<td>{$module_info->module}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">{$lang->mid}</th>
|
||||
<td>{$module_info->mid}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">{$lang->browser_title}</th>
|
||||
<td>{$module_info->browser_title}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<table cellspacing="0" class="tableType3 gap1">
|
||||
<col width="50%" />
|
||||
<col width="50%" />
|
||||
<tr>
|
||||
<th scope="col">{$lang->mid}</th>
|
||||
<th scope="col">{$lang->browser_title}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" name="mid_1" class="inputTypeText w200" /></td>
|
||||
<td><input type="text" name="browser_title_1" class="inputTypeText w200" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" name="mid_2" class="inputTypeText w200" /></td>
|
||||
<td><input type="text" name="browser_title_2" class="inputTypeText w200" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" name="mid_3" class="inputTypeText w200" /></td>
|
||||
<td><input type="text" name="browser_title_3" class="inputTypeText w200" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" name="mid_4" class="inputTypeText w200" /></td>
|
||||
<td><input type="text" name="browser_title_4" class="inputTypeText w200" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" name="mid_5" class="inputTypeText w200" /></td>
|
||||
<td><input type="text" name="browser_title_5" class="inputTypeText w200" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" name="mid_6" class="inputTypeText w200" /></td>
|
||||
<td><input type="text" name="browser_title_6" class="inputTypeText w200" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" name="mid_7" class="inputTypeText w200" /></td>
|
||||
<td><input type="text" name="browser_title_7" class="inputTypeText w200" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" name="mid_8" class="inputTypeText w200" /></td>
|
||||
<td><input type="text" name="browser_title_8" class="inputTypeText w200" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" name="mid_9" class="inputTypeText w200" /></td>
|
||||
<td><input type="text" name="browser_title_9" class="inputTypeText w200" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" name="mid_10" class="inputTypeText w200" /></td>
|
||||
<td><input type="text" name="browser_title_10" class="inputTypeText w200" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="popFooter" class="tCenter gap1">
|
||||
<span class="button"><input type="submit" value="{$lang->cmd_save}" /></span>
|
||||
<span class="button"><input type="button" value="{$lang->cmd_close}" onclick="window.close(); return false;"/></span>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
9
modules/module/tpl/filter/copy_module.xml
Normal file
9
modules/module/tpl/filter/copy_module.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<filter name="copy_module" module="module" act="procModuleAdminCopyModule">
|
||||
<form>
|
||||
<node target="module_srl" required="true" />
|
||||
</form>
|
||||
<response callback_func="completeCopyModule">
|
||||
<tag name="error" />
|
||||
<tag name="message" />
|
||||
</response>
|
||||
</filter>
|
||||
|
|
@ -50,3 +50,9 @@ function doUpdateModule(module) {
|
|||
params['module_name'] = module;
|
||||
exec_xml('install','procInstallAdminUpdate',params, completeInstallModule);
|
||||
}
|
||||
|
||||
/* 모듈 복사후 */
|
||||
function completeCopyModule() {
|
||||
if(typeof(opener)!='undefined') opener.location.href = opener.location.href;
|
||||
window.close();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue