mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Fix #2329 show WebP thumbnails in admin file list
This commit is contained in:
parent
eb61c2c45d
commit
d7053be5fa
1 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
|
|||
<a href="{getUrl('isvalid', 'Y')}" class="active"|cond="$isvalid == 'Y'">{$lang->is_valid}<block cond="$isvalid == 'Y'">({number_format($total_count)})</block></a>
|
||||
<i>|</i>
|
||||
<a href="{getUrl('isvalid', 'N')}" class="active"|cond="$isvalid == 'N'">{$lang->is_stand_by}<block cond="$isvalid == 'N'">({number_format($total_count)})</block></a>
|
||||
|
||||
|
||||
<span class="x_pull-right"><a href="#listManager" class="x_btn modalAnchor" onclick="getFileList();">{$lang->delete}</a></span>
|
||||
</caption>
|
||||
<thead>
|
||||
|
|
@ -92,7 +92,7 @@ xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
|
|||
<!--@endif-->
|
||||
<!-- one document end -->
|
||||
<tr>
|
||||
<td> <!--@if(preg_match("/\.(jpg|png|bmp|jpeg|gif)$/i",strtolower($val->source_filename)))-->
|
||||
<td><!--@if(preg_match('/\.(?:bmp|gif|jpe?g|png|webp)$/i', $val->source_filename))-->
|
||||
<img src="{$val->uploaded_filename}" style="width:50px; height:50px">
|
||||
<!--@end-->
|
||||
<a href="{htmlspecialchars_decode($val->download_url)}">{htmlspecialchars($val->source_filename, ENT_COMPAT | ENT_HTML401, 'UTF-8', false)}</a></td>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue