mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Hide friend group actions if there are no friend groups
This commit is contained in:
parent
359cf29dce
commit
c54f3a61c4
4 changed files with 15 additions and 9 deletions
|
|
@ -21,7 +21,9 @@ $lang->cmd_message_box = 'Message Box';
|
|||
$lang->cmd_view_message_box = 'Message Box';
|
||||
$lang->cmd_store = 'Save';
|
||||
$lang->cmd_add_friend_group = 'Add Friend Group';
|
||||
$lang->cmd_rename_friend_group = 'Modify Friend Group Name';
|
||||
$lang->cmd_rename_friend_group = 'Rename Friend Group';
|
||||
$lang->cmd_delete_friend_group = 'Delete Friend Group';
|
||||
$lang->msg_already_friend = 'You are already friends with this person.';
|
||||
$lang->msg_no_message = 'There is no message.';
|
||||
$lang->msg_cannot_send_to_yourself = 'Cannot send a message to yourself.';
|
||||
$lang->message_received = 'You have a new message.';
|
||||
|
|
@ -36,4 +38,4 @@ $lang->communication_send_message_grant = 'Send Message Grant';
|
|||
$lang->cmd_manage_base = 'Basic infomation';
|
||||
$lang->alert_new_message_arrived = 'You have %d new message(s). Do you want to check it now?';
|
||||
$lang->enable_communication_friend = 'Friend Enable';
|
||||
$lang->enable_communication_message = 'Message Enable';
|
||||
$lang->enable_communication_message = 'Message Enable';
|
||||
|
|
|
|||
|
|
@ -22,6 +22,8 @@ $lang->cmd_view_message_box = 'メッセージ';
|
|||
$lang->cmd_store = '保存';
|
||||
$lang->cmd_add_friend_group = '友達グループ追加';
|
||||
$lang->cmd_rename_friend_group = '友達グループ名変更';
|
||||
$lang->cmd_delete_friend_group = '友達グループ削除';
|
||||
$lang->msg_already_friend = '既に友達として登録されています。';
|
||||
$lang->msg_no_message = 'メッセージがありません。';
|
||||
$lang->msg_cannot_send_to_yourself = '自分自身へのメッセージ送信はできません。';
|
||||
$lang->message_received = 'メッセージが届きました。';
|
||||
|
|
|
|||
|
|
@ -22,6 +22,8 @@ $lang->cmd_view_message_box = '쪽지함 보기';
|
|||
$lang->cmd_store = '보관';
|
||||
$lang->cmd_add_friend_group = '친구 그룹 추가';
|
||||
$lang->cmd_rename_friend_group = '친구 그룹 이름 변경';
|
||||
$lang->cmd_delete_friend_group = '친구 그룹 삭제';
|
||||
$lang->msg_already_friend = '이미 친구로 등록되어 있습니다.';
|
||||
$lang->msg_no_message = '쪽지가 없습니다.';
|
||||
$lang->msg_cannot_send_to_yourself = '자기 자신에게 쪽지를 보낼 수 없습니다.';
|
||||
$lang->message_received = '쪽지가 왔습니다.';
|
||||
|
|
@ -36,4 +38,4 @@ $lang->communication_send_message_grant = '쪽지 발송 권한';
|
|||
$lang->cmd_manage_base = '기본 정보';
|
||||
$lang->alert_new_message_arrived = '%d개의 새로운 메시지가 도착하였습니다. 확인하시겠습니까?';
|
||||
$lang->enable_communication_friend = '친구기능 사용';
|
||||
$lang->enable_communication_message = '쪽지기능 사용';
|
||||
$lang->enable_communication_message = '쪽지기능 사용';
|
||||
|
|
|
|||
|
|
@ -20,12 +20,12 @@
|
|||
</select>
|
||||
<button type="button" class="btn" onclick="doJumpFriendGroup()">{$lang->cmd_move}</button>
|
||||
</span>
|
||||
<select name="friend_group_list" id="friend_group_list" style="margin:0">
|
||||
<select name="friend_group_list" id="friend_group_list" cond="count($friend_group_list)" style="margin:0">
|
||||
<option loop="$friend_group_list => $key,$val" value="{$val->friend_group_srl}" selected="selected"|cond="$val->friend_group_srl == $friend_group_srl">{$val->title}</option>
|
||||
</select>
|
||||
<span class="btn-group">
|
||||
<button type="button" class="btn" onclick="doRenameFriendGroup();return false;">{$lang->cmd_modify}</button>
|
||||
<button type="button" class="btn" onclick="doDeleteFriendGroup();return false;">{$lang->cmd_delete}</button>
|
||||
<button type="button" class="btn" cond="count($friend_group_list)" onclick="doRenameFriendGroup();return false;">{$lang->cmd_rename_friend_group}</button>
|
||||
<button type="button" class="btn" cond="count($friend_group_list)" onclick="doDeleteFriendGroup();return false;">{$lang->cmd_delete_friend_group}</button>
|
||||
<a href="{getUrl('','module','communication','act','dispCommunicationAddFriendGroup')}" class="btn" onclick="popopen(this.href);return false;">{$lang->cmd_add_friend_group}</a>
|
||||
</span>
|
||||
</div>
|
||||
|
|
@ -42,7 +42,7 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
<tr loop="$friend_list => $no,$val">
|
||||
<td>{$val->group_title?$val->group_title:" "}</td>
|
||||
<td>{$val->group_title?$val->group_title:$lang->default_friend_group}</td>
|
||||
<td><a href="#popup_menu_area" class="member_{$val->target_srl}">{$val->nick_name}</a></td>
|
||||
<td>{zdate($val->regdate,"Y-m-d")}</td>
|
||||
<td><input type="checkbox" name="friend_srl_list[]" value="{$val->friend_srl}" /></td>
|
||||
|
|
@ -50,11 +50,11 @@
|
|||
</tbody>
|
||||
</table>
|
||||
<div class="btnArea">
|
||||
<select name="target_friend_group_srl" style="margin:0">
|
||||
<select name="target_friend_group_srl" cond="count($friend_group_list)" style="margin:0">
|
||||
<option loop="$friend_group_list => $key,$val" value="{$val->friend_group_srl}">{$val->title}</option>
|
||||
</select>
|
||||
<span class="btn-group __submit_group">
|
||||
<button type="submit" name="act" class="btn" value="procCommunicationMoveFriend">{$lang->cmd_move}</button>
|
||||
<button type="submit" name="act" class="btn" cond="count($friend_group_list)" value="procCommunicationMoveFriend">{$lang->cmd_move}</button>
|
||||
<button type="submit" name="act" class="btn" value="procCommunicationDeleteFriend">{$lang->cmd_delete}</button>
|
||||
</span>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue