""

'; } else { echo ''; } } else { foreach ($pagedCollections as $collection) { echo ''; echo ''; echo ''; // 合集类型 echo ''; echo ''; echo ''; // 关联内容显示 echo ''; // 排序方式显示 echo ''; echo ''; echo ''; } } ?>
' . sprintf(_t('没有找到与"%s"相关的合集'), htmlspecialchars($searchKeyword)) . '
' . _t('没有任何合集') . '
' . $collection['id'] . ''; $typeText = ''; $typeClass = ''; if ($collection['collection_type'] == 'article') { $typeText = '文章'; $typeClass = 'article'; } else if ($collection['collection_type'] == 'comment') { $typeText = '评论'; $typeClass = 'comment'; } else if ($collection['collection_type'] == 'user') { $typeText = '用户'; $typeClass = 'user'; } else { $typeText = $collection['collection_type']; } echo '' . $typeText . ''; echo '' . htmlspecialchars($collection['name'] ?: '-') . '' . htmlspecialchars($collection['description'] ? substr($collection['description'], 0, 100) . (strlen($collection['description']) > 100 ? '...' : '') : '-') . ''; $sortText = getSortOrderText($collection['sort_order'], $collection['collection_type']); echo $sortText; echo ''; echo '' . _t('编辑') . ''; echo ''; echo '' . _t('删除') . ''; echo '
1): ?>