From 369b0edb42c7ca470248f490c978b02a2ab54da9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 2 Nov 2017 14:25:40 +0100 Subject: [PATCH] Remove test for no longer used PMA_TEST_THEME MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- js/get_image.js.php | 3 +-- libraries/classes/Util.php | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/js/get_image.js.php b/js/get_image.js.php index cc3e29d3ba..31f8ba6668 100644 --- a/js/get_image.js.php +++ b/js/get_image.js.php @@ -77,8 +77,7 @@ function PMA_getImage(image, alternate, attributes) { // this is private alt: '', title: '', - src: (typeof PMA_TEST_THEME == 'undefined' ? '' : '../') - + 'themes/dot.gif' + src: 'themes/dot.gif' }, isSprite: true, attr: function (name, value) { diff --git a/libraries/classes/Util.php b/libraries/classes/Util.php index 46c58b6104..c1b6bc8e9a 100644 --- a/libraries/classes/Util.php +++ b/libraries/classes/Util.php @@ -136,7 +136,7 @@ class Util $class = str_replace(array('.gif','.png'), '', $image); if (array_key_exists($class, $sprites)) { $is_sprite = true; - $url = (defined('PMA_TEST_THEME') ? '../' : '') . 'themes/dot.gif'; + $url = 'themes/dot.gif'; } elseif (isset($GLOBALS['pmaThemeImage'])) { $url = $GLOBALS['pmaThemeImage'] . $image; } else {