Remove test for no longer used PMA_TEST_THEME
Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
56ff2afb74
commit
369b0edb42
@ -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) {
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user