summaryrefslogtreecommitdiff
path: root/lib/plugins/extension/helper/list.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2013-08-10 14:43:12 +0200
committerAndreas Gohr <andi@splitbrain.org>2013-08-10 14:43:12 +0200
commit347e1146ca6a08dc90247a3f7da31cbc3a409aa0 (patch)
tree9681640a83730bafad01686b93c08b4d2a58af96 /lib/plugins/extension/helper/list.php
parentf910b299e4bbc59cfbe4e68af5d34ea2e5815574 (diff)
downloadrpg-347e1146ca6a08dc90247a3f7da31cbc3a409aa0.tar.gz
rpg-347e1146ca6a08dc90247a3f7da31cbc3a409aa0.tar.bz2
fixed screenshots
Diffstat (limited to 'lib/plugins/extension/helper/list.php')
-rw-r--r--lib/plugins/extension/helper/list.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/plugins/extension/helper/list.php b/lib/plugins/extension/helper/list.php
index 6b1d41f78..16ef71569 100644
--- a/lib/plugins/extension/helper/list.php
+++ b/lib/plugins/extension/helper/list.php
@@ -181,8 +181,8 @@ class helper_plugin_extension_list extends DokuWiki_Plugin {
*/
function make_screenshot(helper_plugin_extension_extension $extension) {
if($extension->getScreenshotURL()) {
- $img = '<a title="'.hsc($extension->getDisplayName()).'" href="'.hsc($extension->getScreenshotURL()).'" target="_blank" class="extension_screenshot">'.
- '<img alt="'.hsc($extension->getDisplayName()).'" width="120" height="70" src="'.hsc($extension->getThumbnailURL()).'" />'.
+ $img = '<a title="'.hsc($extension->getDisplayName()).'" href="'.$extension->getScreenshotURL().'" target="_blank" class="extension_screenshot">'.
+ '<img alt="'.hsc($extension->getDisplayName()).'" width="120" height="70" src="'.$extension->getThumbnailURL().'" />'.
'</a>';
} elseif($extension->isTemplate()) {
$img = '<img alt="template" width="120" height="70" src="'.DOKU_BASE.'lib/plugins/extension/images/template.png" />';