show thumbnails even for links that arent enclosures

这个提交包含在:
Evan Prodromou 2011-04-21 16:13:32 -04:00
父节点 f0ea629990
当前提交 5fd08b798f

查看文件

@ -58,11 +58,20 @@ class InlineAttachmentList extends AttachmentList
class InlineAttachmentListItem extends AttachmentListItem
{
protected $thumb;
function show()
{
if ($this->attachment->isEnclosure()) {
$this->thumb = parent::getThumbInfo();
if (!empty($this->thumb)) {
parent::show();
}
}
function getThumbInfo()
{
return $this->thumb;
}
function showLink() {