Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2017-11-27 18:51:44 +0300
committerMichal Čihař <michal@cihar.com>2017-11-27 18:51:44 +0300
commit8e94ba3a40e98830ee71e1ab3b6aa647499bc6ab (patch)
tree2444d3d28d48f82c3ca16b1e6296c3c8c7a61f4f /themes
parent738f5272422324c8dfb03f76da8d851be05da597 (diff)
Use generic PHPMYADMIN define to avoid CSS exection
It should work pretty much same, but we really don't care which of these is set for rendering the css. Issue #11731 Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'themes')
-rw-r--r--themes/original/css/common.css.php2
-rw-r--r--themes/original/css/navigation.css.php2
-rw-r--r--themes/pmahomme/css/codemirror.css.php2
-rw-r--r--themes/pmahomme/css/common.css.php2
-rw-r--r--themes/pmahomme/css/enum_editor.css.php2
-rw-r--r--themes/pmahomme/css/gis.css.php2
-rw-r--r--themes/pmahomme/css/icons.css.php2
-rw-r--r--themes/pmahomme/css/jqplot.css.php2
-rw-r--r--themes/pmahomme/css/navigation.css.php2
-rw-r--r--themes/pmahomme/css/pmd.css.php2
-rw-r--r--themes/pmahomme/css/resizable-menu.css.php2
-rw-r--r--themes/pmahomme/css/rte.css.php2
12 files changed, 12 insertions, 12 deletions
diff --git a/themes/original/css/common.css.php b/themes/original/css/common.css.php
index 4363fb728b..0fd1dc5ac5 100644
--- a/themes/original/css/common.css.php
+++ b/themes/original/css/common.css.php
@@ -8,7 +8,7 @@
*/
// unplanned execution path
-if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
+if (! defined('PHPMYADMIN') && ! defined('TESTSUITE')) {
exit();
}
?>
diff --git a/themes/original/css/navigation.css.php b/themes/original/css/navigation.css.php
index 07ca73e154..df3d54e881 100644
--- a/themes/original/css/navigation.css.php
+++ b/themes/original/css/navigation.css.php
@@ -8,7 +8,7 @@
*/
// unplanned execution path
-if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
+if (! defined('PHPMYADMIN') && ! defined('TESTSUITE')) {
exit();
}
?>
diff --git a/themes/pmahomme/css/codemirror.css.php b/themes/pmahomme/css/codemirror.css.php
index c94d1b9964..84a7e56d25 100644
--- a/themes/pmahomme/css/codemirror.css.php
+++ b/themes/pmahomme/css/codemirror.css.php
@@ -9,7 +9,7 @@
*/
// unplanned execution path
-if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
+if (! defined('PHPMYADMIN') && ! defined('TESTSUITE')) {
exit();
}
?>
diff --git a/themes/pmahomme/css/common.css.php b/themes/pmahomme/css/common.css.php
index 8dddfc76f4..68cc29761d 100644
--- a/themes/pmahomme/css/common.css.php
+++ b/themes/pmahomme/css/common.css.php
@@ -8,7 +8,7 @@
*/
// unplanned execution path
-if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
+if (! defined('PHPMYADMIN') && ! defined('TESTSUITE')) {
exit();
}
?>
diff --git a/themes/pmahomme/css/enum_editor.css.php b/themes/pmahomme/css/enum_editor.css.php
index da9bc07158..6042953304 100644
--- a/themes/pmahomme/css/enum_editor.css.php
+++ b/themes/pmahomme/css/enum_editor.css.php
@@ -8,7 +8,7 @@
*/
// unplanned execution path
-if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
+if (! defined('PHPMYADMIN') && ! defined('TESTSUITE')) {
exit();
}
?>
diff --git a/themes/pmahomme/css/gis.css.php b/themes/pmahomme/css/gis.css.php
index f0de2111ae..5f7979a701 100644
--- a/themes/pmahomme/css/gis.css.php
+++ b/themes/pmahomme/css/gis.css.php
@@ -8,7 +8,7 @@
*/
// unplanned execution path
-if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
+if (! defined('PHPMYADMIN') && ! defined('TESTSUITE')) {
exit();
}
?>
diff --git a/themes/pmahomme/css/icons.css.php b/themes/pmahomme/css/icons.css.php
index 18931b59a7..da359428f4 100644
--- a/themes/pmahomme/css/icons.css.php
+++ b/themes/pmahomme/css/icons.css.php
@@ -10,7 +10,7 @@
$theme->getImgPath('pmd/left_panel_butt.png');
// unplanned execution path
-if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
+if (! defined('PHPMYADMIN') && ! defined('TESTSUITE')) {
exit();
}
?>
diff --git a/themes/pmahomme/css/jqplot.css.php b/themes/pmahomme/css/jqplot.css.php
index 1fc4329bb7..1c5c5ac9e6 100644
--- a/themes/pmahomme/css/jqplot.css.php
+++ b/themes/pmahomme/css/jqplot.css.php
@@ -9,7 +9,7 @@
*/
// unplanned execution path
-if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
+if (! defined('PHPMYADMIN') && ! defined('TESTSUITE')) {
exit();
}
?>
diff --git a/themes/pmahomme/css/navigation.css.php b/themes/pmahomme/css/navigation.css.php
index e566e1e8b0..317e9af220 100644
--- a/themes/pmahomme/css/navigation.css.php
+++ b/themes/pmahomme/css/navigation.css.php
@@ -8,7 +8,7 @@
*/
// unplanned execution path
-if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
+if (! defined('PHPMYADMIN') && ! defined('TESTSUITE')) {
exit();
}
?>
diff --git a/themes/pmahomme/css/pmd.css.php b/themes/pmahomme/css/pmd.css.php
index dbef6366bd..788e7e7b3e 100644
--- a/themes/pmahomme/css/pmd.css.php
+++ b/themes/pmahomme/css/pmd.css.php
@@ -9,7 +9,7 @@
use PhpMyAdmin\Theme;
// unplanned execution path
-if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
+if (! defined('PHPMYADMIN') && ! defined('TESTSUITE')) {
exit();
}
diff --git a/themes/pmahomme/css/resizable-menu.css.php b/themes/pmahomme/css/resizable-menu.css.php
index 3088a85a91..6cebc896ac 100644
--- a/themes/pmahomme/css/resizable-menu.css.php
+++ b/themes/pmahomme/css/resizable-menu.css.php
@@ -10,7 +10,7 @@
*/
// unplanned execution path
-if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
+if (! defined('PHPMYADMIN') && ! defined('TESTSUITE')) {
exit();
}
?>
diff --git a/themes/pmahomme/css/rte.css.php b/themes/pmahomme/css/rte.css.php
index f75488ccf0..f70ffe2745 100644
--- a/themes/pmahomme/css/rte.css.php
+++ b/themes/pmahomme/css/rte.css.php
@@ -9,7 +9,7 @@
*/
// unplanned execution path
-if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
+if (! defined('PHPMYADMIN') && ! defined('TESTSUITE')) {
exit();
}
?>