summaryrefslogtreecommitdiff
path: root/includes/components/pane.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/components/pane.inc')
-rw-r--r--includes/components/pane.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/components/pane.inc b/includes/components/pane.inc
index 1ecbcdf..a4b2d43 100644
--- a/includes/components/pane.inc
+++ b/includes/components/pane.inc
@@ -1,4 +1,4 @@
-<?php global $isLoggedIn; global $isLowerLoggedIn; global $pages; global $navigation; $byColor = getMembersByColor(); global $lang; global $pages; ?>
+<?php global $use2023UI; global $isLoggedIn; global $isLowerLoggedIn; global $pages; global $navigation; $byColor = getMembersByColor(); global $lang; global $pages; if (!$use2023UI): ?>
<div id="pane-header-background" style="background-image: linear-gradient(90deg, <?php
@@ -128,4 +128,5 @@ foreach ($list as $color) {
background-color: rgba(255, 255, 255, .1);
}
-</style> \ No newline at end of file
+</style>
+<?php endif; ?> \ No newline at end of file