From 10e46a04f46a4bb581e0bc6b61ede788b79beb7f Mon Sep 17 00:00:00 2001 From: Megan Watson Date: Fri, 27 Nov 2009 15:22:47 +0200 Subject: [PATCH] Moved the thumbnail out of the div with the onclick href. Jira: KTC-865 PT: 1817265 --- plugins/ktstandard/documentpreview/documentPreview.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/plugins/ktstandard/documentpreview/documentPreview.php b/plugins/ktstandard/documentpreview/documentPreview.php index 8c2ef1f..7ace091 100755 --- a/plugins/ktstandard/documentpreview/documentPreview.php +++ b/plugins/ktstandard/documentpreview/documentPreview.php @@ -176,7 +176,11 @@ class DocumentPreview { $sInfo = $this->getMetadata(); - return '
'.$sInfo.'
'; + $sInfo = '
'.$sInfo.'
'; + + $sInfo .= $this->getThumbnail(); + + return $sInfo; } /** @@ -280,8 +284,6 @@ class DocumentPreview { $sInfo .= "{$sIdLb}{$sId}"; $sInfo .= " "; - $sInfo .= $this->getThumbnail(); - return $sInfo; } -- libgit2 0.21.4