- <link rel="stylesheet" type="text/css" href="lib/dijit/themes/claro/claro.css"/>
- <link rel="stylesheet" type="text/css" href="tt-rss.css?<?php echo $dt_add ?>"/>
- <link rel="stylesheet" type="text/css" href="cdm.css?<?php echo $dt_add ?>"/>
+ <meta name="viewport" content="initial-scale=1,width=device-width" />
+
+ <script type="text/javascript">
+ var __ttrss_version = "<?php echo VERSION ?>"
+ </script>
+
+ <?php echo stylesheet_tag("lib/dijit/themes/claro/claro.css"); ?>
+
+ <?php if ($_SESSION["uid"]) {
+ $theme = get_pref("USER_CSS_THEME", false, false);
+ if ($theme && theme_valid("$theme")) {
+ echo stylesheet_tag(get_theme_path($theme));
+ } else {
+ echo stylesheet_tag("css/default.css");
+ }
+ }
+ ?>