1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 03:35:55 +00:00

add support for an override stylesheet which applies to all users

This commit is contained in:
Andrew Dolgov
2020-11-30 15:53:32 +03:00
parent 8089fcc762
commit 81c52b4b1e
5 changed files with 21 additions and 4 deletions

View File

@@ -44,8 +44,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"]; ?>";