mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@280 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
dfb1590848
commit
812bbd54e6
3 changed files with 78 additions and 0 deletions
8
modules/trackback/conf/module.xml
Normal file
8
modules/trackback/conf/module.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<module>
|
||||||
|
<grants />
|
||||||
|
<actions>
|
||||||
|
<action name="dispList" type="view" admin_index="true" standalone="true" />
|
||||||
|
<action name="procDeleteChecked" type="controller" standalone="true" />
|
||||||
|
</actions>
|
||||||
|
</module>
|
||||||
58
modules/trackback/tpl.admin/comment_list.html
Normal file
58
modules/trackback/tpl.admin/comment_list.html
Normal file
|
|
@ -0,0 +1,58 @@
|
||||||
|
<!--%import("filter/delete_checked.xml")-->
|
||||||
|
<!--#include("header.html")-->
|
||||||
|
|
||||||
|
<!-- 게시판 정보 -->
|
||||||
|
<div>
|
||||||
|
{$lang->total_count} : {number_format($total_count)},
|
||||||
|
{$lang->page_count} : {number_format($page)} / {number_format($total_page)}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<form action="./" method="get" onsubmit="return procFilter(this, delete_checked)">
|
||||||
|
<input type="hidden" name="page" value="{$page}" />
|
||||||
|
|
||||||
|
<!-- 목록 -->
|
||||||
|
<div>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<th colspan="2">{$lang->no}</th>
|
||||||
|
<th>{$lang->module}</th>
|
||||||
|
<th>{$lang->user_name}</th>
|
||||||
|
<th>{$lang->content}</th>
|
||||||
|
<th>{$lang->date}</th>
|
||||||
|
<th>{$lang->cmd_move}</th>
|
||||||
|
</tr>
|
||||||
|
<!--@foreach($comment_list as $no => $val)-->
|
||||||
|
<tr>
|
||||||
|
<td>{$no}</td>
|
||||||
|
<td><input type="checkbox" name="cart" value="{$val->comment_srl}" /></td>
|
||||||
|
<td><a href="#" onclick="window.open('./?mid={$val->mid}');return false">{$module_list[$val->module_srl]->browser_title}</a></td>
|
||||||
|
<td>{$val->user_name}</td>
|
||||||
|
<td>{$val->content}</td>
|
||||||
|
<td>{zdate($val->regdate,"Y-m-d")}</td>
|
||||||
|
<td><a href="#" onclick="window.open('./?document_srl={$val->document_srl}&#comment_{$val->comment_srl}');return false">{$lang->cmd_move}</a></td>
|
||||||
|
</tr>
|
||||||
|
<!--@end-->
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- 버튼 -->
|
||||||
|
<div>
|
||||||
|
<input type="submit" value="{$lang->cmd_delete_checked_comment}" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- 페이지 네비게이션 -->
|
||||||
|
<div>
|
||||||
|
<a href="{getUrl('page','','comment_srl','')}">[{$lang->first_page}]</a>
|
||||||
|
|
||||||
|
<!--@while($page_no = $page_navigation->getNextPage())-->
|
||||||
|
<!--@if($page == $page_no)-->
|
||||||
|
{$page_no}
|
||||||
|
<!--@else-->
|
||||||
|
<a href="{getUrl('page',$page_no,'comment_srl','')}">[{$page_no}]</a>
|
||||||
|
<!--@end-->
|
||||||
|
<!--@end-->
|
||||||
|
|
||||||
|
<a href="{getUrl('page',$page_navigation->last_page,'comment_srl','')}">[{$lang->last_page}]</a>
|
||||||
|
</div>
|
||||||
12
modules/trackback/tpl.admin/filter/delete_checked.xml
Normal file
12
modules/trackback/tpl.admin/filter/delete_checked.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
<filter name="delete_checked" module="comment" act="procDeleteChecked" confirm_msg_code="confirm_delete">
|
||||||
|
<form>
|
||||||
|
<node target="cart" required="true" />
|
||||||
|
</form>
|
||||||
|
<parameter>
|
||||||
|
<param name="cart" target="cart" />
|
||||||
|
</parameter>
|
||||||
|
<response>
|
||||||
|
<tag name="error" />
|
||||||
|
<tag name="message" />
|
||||||
|
</response>
|
||||||
|
</filter>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue