mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-13 16:34:52 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@319 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
25516bb21c
commit
b6268cf13f
7 changed files with 73 additions and 1 deletions
9
modules/layout/tpl.admin/filter/delete_layout.xml
Normal file
9
modules/layout/tpl.admin/filter/delete_layout.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<filter name="delete_layout" module="layout" act="procDeleteLayout" confirm_msg_code="confirm_delete">
|
||||
<form>
|
||||
<node target="layout_srl" required="true" />
|
||||
</form>
|
||||
<response>
|
||||
<tag name="error" />
|
||||
<tag name="message" />
|
||||
</response>
|
||||
</filter>
|
||||
|
|
@ -1,7 +1,14 @@
|
|||
<!--%import("js/admin.js")-->
|
||||
<!--%import("filter/delete_layout.xml")-->
|
||||
|
||||
<div>
|
||||
{$lang->total_count} {number_format(count($layout_list))}
|
||||
</div>
|
||||
|
||||
<!-- 삭제를 위한 임시 form -->
|
||||
<form id="fo_layout" action="./" method="get" onsubmit="return procFilter(this, delete_layout)">
|
||||
<input type="hidden" name="layout_srl" value="" />
|
||||
</form>
|
||||
|
||||
<!-- 목록 -->
|
||||
<div>
|
||||
|
|
@ -19,7 +26,7 @@
|
|||
<td>{$val->layout}</td>
|
||||
<td><a href="#" onclick="location.href='{getUrl('act','dispLayoutInfo','layout_srl',$val->layout_srl)}';return false;">{$val->title}</a></td>
|
||||
<td>{zdate($val->regdate,"Y-m-d")}</td>
|
||||
<td><a href="{getUrl('act','dispAdminDeleteBoard','module_srl', $val->module_srl)}">{$lang->cmd_delete}</a></td>
|
||||
<td><a href="#" onclick="doDeleteLayout('{$val->layout_srl}');return false;">{$lang->cmd_delete}</a></td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -82,3 +82,12 @@ function completeGetMenuInfo(ret_obj, response_tags) {
|
|||
xInnerHtml("menu_zone_info_"+menu_id, "");
|
||||
xInnerHtml("menu_zone_info_"+menu_id, tpl);
|
||||
}
|
||||
|
||||
/* 레이아웃 삭제 */
|
||||
function doDeleteLayout(layout_srl) {
|
||||
var fo_obj = xGetElementById("fo_layout");
|
||||
if(!fo_obj) return;
|
||||
fo_obj.layout_srl.value = layout_srl;
|
||||
|
||||
procFilter(fo_obj, delete_layout);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue