From c56a1745178bf32631a57a2621fe533dc6883a25 Mon Sep 17 00:00:00 2001 From: Jimmi08 Date: Sat, 17 May 2014 21:57:12 +0200 Subject: [PATCH] fix #557 download plugin no screenshot image and ugly name. --- e107_plugins/download/request.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/e107_plugins/download/request.php b/e107_plugins/download/request.php index b7843753b..c2156e923 100644 --- a/e107_plugins/download/request.php +++ b/e107_plugins/download/request.php @@ -310,6 +310,7 @@ else if ($table == "download") { require_once(HEADERF); + $imagecaption = ''; // TODO ?name or text Screenshot if (file_exists(e_FILE."download/{$image}")) { $disp = "
"; @@ -320,10 +321,11 @@ else } else { + $image = $tp->replaceConstants($image); $disp = "
"; } $disp .= "
".LAN_dl_64."
"; - $ns->tablerender($image, $disp); + $ns->tablerender($imagecaption, $disp); require_once(FOOTERF); } else