mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:35:56 +00:00
move Zoom stylesheet to a separate file
update stylesheet/javascript tag helpers to return output instead of printing it
This commit is contained in:
10
index.php
10
index.php
@@ -56,15 +56,15 @@
|
||||
<head>
|
||||
<title>Tiny Tiny RSS</title>
|
||||
|
||||
<?php stylesheet_tag("lib/dijit/themes/claro/claro.css"); ?>
|
||||
<?php stylesheet_tag("css/layout.css"); ?>
|
||||
<?php echo stylesheet_tag("lib/dijit/themes/claro/claro.css"); ?>
|
||||
<?php echo stylesheet_tag("css/layout.css"); ?>
|
||||
|
||||
<?php if ($_SESSION["uid"]) {
|
||||
$theme = get_pref( "USER_CSS_THEME", $_SESSION["uid"], false);
|
||||
if ($theme && file_exists("themes/$theme")) {
|
||||
stylesheet_tag("themes/$theme");
|
||||
echo stylesheet_tag("themes/$theme");
|
||||
} else {
|
||||
stylesheet_tag("themes/default.css");
|
||||
echo stylesheet_tag("themes/default.css");
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -91,7 +91,7 @@
|
||||
"lib/dojo/tt-rss-layer.js",
|
||||
"errors.php?mode=js") as $jsfile) {
|
||||
|
||||
javascript_tag($jsfile);
|
||||
echo javascript_tag($jsfile);
|
||||
|
||||
} ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user