summaryrefslogtreecommitdiff
path: root/prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-11-30 15:53:32 +0300
committerAndrew Dolgov <[email protected]>2020-11-30 15:53:32 +0300
commit81c52b4b1e73bcc44cbe93fa926036277a961208 (patch)
tree9f0de5a34f470df55f63a4bb233424bf71ed03c3 /prefs.php
parent8089fcc7622590dc93d427532ec35f3644214ed0 (diff)
add support for an override stylesheet which applies to all users
Diffstat (limited to 'prefs.php')
-rw-r--r--prefs.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/prefs.php b/prefs.php
index 2a51c6c38..f0ecae180 100644
--- a/prefs.php
+++ b/prefs.php
@@ -36,8 +36,11 @@
if ($theme && theme_exists("$theme")) {
echo stylesheet_tag(get_theme_path($theme), 'theme_css');
}
- }
- ?>
+ } ?>
+
+ <?php if (theme_exists(LOCAL_OVERRIDE_STYLESHEET)) {
+ echo stylesheet_tag(get_theme_path(LOCAL_OVERRIDE_STYLESHEET));
+ } ?>
<script type="text/javascript">
const __csrf_token = "<?php echo $_SESSION["csrf_token"]; ?>";