mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 07:09:56 +09:00
스크랩한 게시물 삭제 기능 추가
git-svn-id: http://xe-core.googlecode.com/svn/trunk@2020 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
20a90854f0
commit
114795e30e
5 changed files with 37 additions and 0 deletions
|
|
@ -217,3 +217,10 @@ function doJumpFriendGroup() {
|
|||
var sel_val = sel_obj.options[sel_idx].value;
|
||||
location.href = current_url.setQuery('friend_group_srl', sel_val);
|
||||
}
|
||||
|
||||
/* 스크랩 삭제 */
|
||||
function doDeleteScrap(document_srl) {
|
||||
var params = new Array();
|
||||
params['document_srl'] = document_srl;
|
||||
exec_xml('member', 'procMemberDeleteScrap', params, function() { location.reload(); });
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,12 +13,14 @@
|
|||
<col />
|
||||
<col width="120" />
|
||||
<col width="100" />
|
||||
<col width="100" />
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">{$lang->no}</th>
|
||||
<th scope="col">{$lang->title}</th>
|
||||
<th scope="col">{$lang->author}</th>
|
||||
<th scope="col">{$lang->date}</th>
|
||||
<th scope="col">{$lang->cmd_delete}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
|
@ -30,6 +32,7 @@
|
|||
</td>
|
||||
<td class="author"><div class="member_{$val->target_member_srl}">{$val->nick_name}</div></td>
|
||||
<td class="registDate">{zdate($val->regdate, "Y-m-d H:i")}</td>
|
||||
<td><a href="#" onclick="doDeleteScrap({$val->document_srl}); return false;" class="button"><span>{$lang->cmd_delete}</span></a></td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
</tbody>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue