{if condition="file_exists(ROOT_PATH.'public/static/admin/css/theme_style.css')"} {elseif condition="file_exists(APP_PATH.'admin/template/public/theme_css.htm') && function_exists('hex2rgba')" /} {include file="public/theme_css" /} {/if}
{php} // 根据文件扩展名获取 Font Awesome 图标类 function getFileIconClass($filename) { if (empty($filename)) return 'fa-file-o'; $ext = strtolower(pathinfo($filename, PATHINFO_EXTENSION)); $iconMap = [ // 文档 'pdf' => 'fa-file-pdf-o', 'doc' => 'fa-file-word-o', 'docx' => 'fa-file-word-o', 'xls' => 'fa-file-excel-o', 'xlsx' => 'fa-file-excel-o', 'ppt' => 'fa-file-powerpoint-o', 'pptx' => 'fa-file-powerpoint-o', 'txt' => 'fa-file-text-o', 'rtf' => 'fa-file-text-o', // 压缩文件 'zip' => 'fa-file-archive-o', 'rar' => 'fa-file-archive-o', '7z' => 'fa-file-archive-o', 'gz' => 'fa-file-archive-o', 'tar' => 'fa-file-archive-o', 'iso' => 'fa-file-archive-o', ]; return isset($iconMap[$ext]) ? $iconMap[$ext] : 'fa-file-o'; } {/php}
存储于{$storageTitle}，建议<{$basicConfig.file_size}{$basicConfig.max_sizeunit}
{$searchform.hidden|default=''}
{empty name="$videolist"}

{else /}

{volist name="$videolist" id="vo"} {php}$fileIconClass = getFileIconClass($vo['title']);{/php}
- {$vo.title}
{/volist}

{/empty}
全选 移动 移除 彻底删除
{$pageStr}