mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-25 06:09:55 +09:00
Fix #1282 display attachment list in message
This commit is contained in:
parent
c35d739443
commit
22cb4c552a
8 changed files with 73 additions and 24 deletions
|
|
@ -19,6 +19,8 @@ input[type=radio]{width:13px;height:13px;margin:0;padding:0}
|
|||
.bd{background:#f8f8f8;padding:1px 0}
|
||||
.co{margin:10px;line-height:1.4;font-size:14px;color:#333}
|
||||
.co:after{content:"";display:block;clear:both;zoom:1}
|
||||
.co .attachments { border-top: 1px solid #ccc8be; margin: 16px 0 0 0; padding: 16px 0 16px 24px; }
|
||||
.co .attachments span.file_size { color: #666; }
|
||||
/* Hx */
|
||||
.hx{position:relative;border-bottom:1px solid #ccc8be;padding:8px 10px;margin:0}
|
||||
.hx:after{content:"";margin:0 -10px;position:relative;top:10px;display:block;clear:both;height:1px;background:#fff}
|
||||
|
|
|
|||
|
|
@ -5,6 +5,13 @@
|
|||
</div>
|
||||
<div class="co">
|
||||
<div class="xe_content">{$message->content|noescape}</div>
|
||||
<!--@if(count($message_files))-->
|
||||
<ul class="attachments">
|
||||
<!--@foreach($message_files as $file)-->
|
||||
<li><a href="{getUrl('')}{$file->download_url}">{$file->source_filename}</a> <span class="file_size">({FileHandler::filesize($file->file_size)})</li>
|
||||
<!--@endforeach-->
|
||||
</ul>
|
||||
<!--@endif-->
|
||||
</div>
|
||||
<div class="bna">
|
||||
<span class="fl"><a href="{getUrl('message_srl', '')}" class="bn white">{$lang->cmd_list}</a></span>
|
||||
|
|
|
|||
|
|
@ -10,7 +10,14 @@
|
|||
<div class="xe_content">
|
||||
{$message->content}
|
||||
</div>
|
||||
<div class="prn-anchor-buttons">
|
||||
<!--@if(count($message_files))-->
|
||||
<ul class="attachments">
|
||||
<!--@foreach($message_files as $file)-->
|
||||
<li><a href="{getUrl('')}{$file->download_url}">{$file->source_filename}</a> <span class="file_size">({FileHandler::filesize($file->file_size)})</li>
|
||||
<!--@endforeach-->
|
||||
</ul>
|
||||
<!--@endif-->
|
||||
<div class="prn-anchor-buttons">
|
||||
<a cond="$message->message_type != 'S' && $message->member_srl != $logged_info->member_srl" href="#" onclick="doSendMessage('{$message->sender_srl}','{$message->message_srl}');">{$lang->cmd_reply_message}</a>
|
||||
<a cond="$message->message_type == 'R'" href="#" onclick="doStoreMessage('{$message->message_srl}');">{$lang->cmd_store}</a>
|
||||
<a href="#" onclick="doDeleteMessage('{$message->message_srl}');">{$lang->cmd_delete}</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue