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

cleanup javascript_tag and stylesheet_tag

This commit is contained in:
Andrew Dolgov
2021-03-08 17:39:24 +03:00
parent 28dd255c30
commit cfb4882591
4 changed files with 26 additions and 286 deletions

View File

@@ -23,7 +23,7 @@
<?php if ($_SESSION["uid"] && empty($_SESSION["safe_mode"])) {
$theme = get_pref(Prefs::USER_CSS_THEME);
if ($theme && theme_exists("$theme")) {
echo stylesheet_tag(get_theme_path($theme), 'theme_css');
echo stylesheet_tag(get_theme_path($theme), ['id' => 'theme_css']);
}
} ?>