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@948 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e5e8e3deff
commit
516ef7e0f6
8 changed files with 59 additions and 12 deletions
1
modules/member/skins/default/filter/move_friend.xml
Normal file
1
modules/member/skins/default/filter/move_friend.xml
Normal file
|
|
@ -0,0 +1 @@
|
|||
<filter name="move_friend" module="member" act="procMemberMoveFriend" confirm_msg_code="confirm_move" />
|
||||
|
|
@ -1,9 +1,10 @@
|
|||
<!--%import("js/member.js")-->
|
||||
<!--%import("filter/delete_checked_friend.xml")-->
|
||||
<!--%import("filter/delete_friend_group.xml")-->
|
||||
<!--%import("filter/move_friend.xml")-->
|
||||
|
||||
<div style="width:700px;">
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, delete_checked_friend)">
|
||||
<form id="fo_friend_list" action="./" method="get" onsubmit="return procFilter(this, delete_checked_friend)">
|
||||
|
||||
<!-- 그룹 목록 -->
|
||||
<div style="float:left;width:150px;">
|
||||
|
|
@ -39,7 +40,9 @@
|
|||
<div style="float:left;width:550px;">
|
||||
<table border="1" width="100%">
|
||||
<tr>
|
||||
<th colspan="2">{$lang->user_id}</th>
|
||||
<th><input type="checkbox" name="check_all" onclick="doCheckAll(this, 'fo_friend_list');"/></th>
|
||||
<th>{$lang->friend_group}</th>
|
||||
<th>{$lang->user_id}</th>
|
||||
<th>{$lang->user_name}</th>
|
||||
<th>{$lang->nick_name}</th>
|
||||
<th>{$lang->cmd_send_message}</th>
|
||||
|
|
@ -48,6 +51,7 @@
|
|||
<!--@foreach($friend_list as $no => $val)-->
|
||||
<tr>
|
||||
<td><input type="checkbox" name="friend_srl_list" value="{$val->friend_srl}" /></td>
|
||||
<td><a href="{getUrl('friend_group_srl',$val->friend_group_srl)}">{$val->group_title}</a></td>
|
||||
<td>{$val->user_id}</td>
|
||||
<td>{$val->user_name}</td>
|
||||
<td>{$val->nick_name}</td>
|
||||
|
|
@ -60,6 +64,13 @@
|
|||
<!-- 버튼 -->
|
||||
<div style="clear:both">
|
||||
<input type="submit" value="{$lang->cmd_delete}" />
|
||||
<select name="target_friend_group_srl">
|
||||
<option value="0">{$lang->default_friend_group}</option>
|
||||
<!--@foreach($friend_group_list as $key => $val)-->
|
||||
<option value="{$val->friend_group_srl}">{$val->title}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<input type="button" value="{$lang->cmd_move}" onclick="doMoveFriend();return false;"/>
|
||||
</div>
|
||||
|
||||
<!-- 페이지 네비게이션 -->
|
||||
|
|
|
|||
|
|
@ -89,10 +89,10 @@ function completeSendMessage(ret_obj) {
|
|||
}
|
||||
|
||||
/* 쪽지 모두 선택 */
|
||||
function doCheckAll(obj) {
|
||||
var fo_obj = xGetElementById("fo_message_list");
|
||||
function doCheckAll(obj, fo_id) {
|
||||
var fo_obj = xGetElementById(fo_id);
|
||||
for(var i=0; i<fo_obj.length; i++) {
|
||||
if(fo_obj[i].type == "checkbox" && fo_obj[i].name == "message_srl_list" ) fo_obj[i].checked = obj.checked;
|
||||
if(fo_obj[i].type == "checkbox" && fo_obj[i] != obj) fo_obj[i].checked = obj.checked;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -157,3 +157,9 @@ function completeDeleteFriendGroup(ret_obj) {
|
|||
function doRenameFriendGroup(friend_group_srl) {
|
||||
popopen("./?module=member&act=dispMemberAddFriendGroup&friend_group_srl="+friend_group_srl);
|
||||
}
|
||||
|
||||
/* 친구 그룹 이동 */
|
||||
function doMoveFriend() {
|
||||
var fo_obj = xGetElementById('fo_friend_list');
|
||||
procFilter(fo_obj, move_friend);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@
|
|||
<div>
|
||||
<table border="1">
|
||||
<tr>
|
||||
<th><input type="checkbox" name="check_all" onclick="doCheckAll(this);"/></th>
|
||||
<th><input type="checkbox" name="check_all" onclick="doCheckAll(this, 'fo_message_list');"/></th>
|
||||
<th>
|
||||
<!--@if($message_type == "S")-->
|
||||
{$lang->receiver}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue