mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
Also support plain window for adding friend & friend group #2154
This commit is contained in:
parent
e635970c6a
commit
64b2918559
6 changed files with 95 additions and 30 deletions
|
|
@ -1,6 +1,11 @@
|
|||
<load target="filter/add_friend.xml" />
|
||||
<load target="css/communication.css" />
|
||||
<load target="js/communication.js" />
|
||||
|
||||
<!--@if(isset($window_type) && $window_type === 'self')-->
|
||||
<include target="./common_header.html" />
|
||||
<!--@endif-->
|
||||
|
||||
<div class="xc">
|
||||
<h1>{$lang->cmd_add_friend}</h1>
|
||||
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/communication/skins/default/add_friend/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
||||
|
|
@ -11,6 +16,7 @@
|
|||
<input type="hidden" name="act" value="procCommunicationAddFriend" />
|
||||
<input type="hidden" name="target_srl" value="{$target_info->member_srl}" />
|
||||
<input type="hidden" name="xe_validator_id" value="modules/communication/skins/default/add_friend/1" />
|
||||
<input type="hidden" name="window_type" value="{escape($window_type ?? '')}" />
|
||||
<table class="table table-striped table-hover">
|
||||
<tr>
|
||||
<th scope="row">{$lang->nick_name}</th>
|
||||
|
|
@ -22,7 +28,7 @@
|
|||
<select name="friend_group_srl" id="friend_group_srl">
|
||||
<option value="">{$lang->default_friend_group}</option>
|
||||
<option loop="$friend_group_list => $key,$val" value="{$val->friend_group_srl}">{$val->title}</option>
|
||||
</select>
|
||||
</select>
|
||||
<a href="{getUrl('act','dispCommunicationAddFriendGroup')}" class="btn" onclick="popopen(this.href);return false;">{$lang->cmd_add_friend_group}</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
<load target="css/communication.css" />
|
||||
<load target="js/communication.js" />
|
||||
|
||||
<!--@if(isset($window_type) && $window_type === 'self')-->
|
||||
<include target="./common_header.html" />
|
||||
<!--@endif-->
|
||||
|
||||
<div class="xc">
|
||||
<h1 style="border-bottom:1px solid #ccc">
|
||||
<!--@if($friend_group->friend_group_srl)-->
|
||||
|
|
@ -16,6 +21,7 @@
|
|||
<input type="hidden" name="act" value="procCommunicationAddFriendGroup" />
|
||||
<input type="hidden" name="friend_group_srl" value="{$friend_group->friend_group_srl}" />
|
||||
<input type="hidden" name="xe_validator_id" value="modules/communication/skins/default/add_friend_group/1" />
|
||||
<input type="hidden" name="window_type" value="{escape($window_type ?? '')}" />
|
||||
<div class="control-group">
|
||||
<label for="title" class="control-label">{$lang->msg_insert_group_name}</label>
|
||||
<div class="controls"><input name="title" id="title" type="text" value="{htmlspecialchars($friend_group->title, ENT_COMPAT | ENT_HTML401, 'UTF-8', false)}"/></div>
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
<span class="btn-group">
|
||||
<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>
|
||||
<a href="{getUrl('','module','communication','act','dispCommunicationAddFriendGroup','window_type','self')}" class="btn">{$lang->cmd_add_friend_group}</a>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue