mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 09:32:15 +09:00
Support replying to message in the same window #2154
This commit is contained in:
parent
6d8063b57e
commit
e635970c6a
7 changed files with 27 additions and 8 deletions
|
|
@ -243,7 +243,7 @@
|
|||
.xc button,
|
||||
.xc a.btn,
|
||||
.xc table{font-size:13px}
|
||||
.xc h1{font-size:22px}
|
||||
.xc h1{font-size:20px;margin-bottom:12px}
|
||||
.xc .nav a,
|
||||
.xc .btn{text-decoration:none}
|
||||
.xc .table{border-top:1px solid #ddd;border-bottom:1px solid #ddd}
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ function completeSendMessage(ret_obj) {
|
|||
|
||||
function doSendMessage(member_srl, message_srl) {
|
||||
if(typeof(message_srl)=='undefined') message_srl = 0;
|
||||
var url = request_uri.setQuery('mid',current_mid).setQuery('act','dispCommunicationSendMessage').setQuery('receiver_srl',member_srl).setQuery('message_srl',message_srl);
|
||||
popopen(url, 'sendMessage');
|
||||
var url = request_uri.setQuery('mid',current_mid).setQuery('act','dispCommunicationSendMessage').setQuery('receiver_srl',member_srl).setQuery('message_srl',message_srl).setQuery('window_type', 'self');
|
||||
window.location = url;
|
||||
}
|
||||
|
||||
/* 개별 쪽지 삭제 */
|
||||
|
|
|
|||
|
|
@ -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>{$lang->cmd_send_message}</h1>
|
||||
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/communication/skins/default/send_message/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
||||
|
|
@ -21,6 +26,8 @@
|
|||
<input type="hidden" name="content" value="{htmlspecialchars($source_message->content)}" />
|
||||
<input type="hidden" name="receiver_srl" value="{$receiver_info->member_srl}" />
|
||||
<input type="hidden" name="xe_validator_id" value="modules/communication/skins/default/send_message/1" />
|
||||
<input type="hidden" name="success_return_url" value="{getNotEncodedUrl('', 'act', 'dispCommunicationMessages', 'message_type', 'S')}" />
|
||||
<input type="hidden" name="window_type" value="{escape($window_type ?? '')}" />
|
||||
<table class="table table-striped table-hover">
|
||||
<tr>
|
||||
<th scope="row"><label for="textfield1">{$lang->receiver}</label></th>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue