]> git.wh0rd.org Git - tt-rss.git/commitdiff
misc css/linking updates
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 25 Nov 2010 11:39:06 +0000 (14:39 +0300)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 25 Nov 2010 11:39:06 +0000 (14:39 +0300)
digest.css
digest.js
digest.php
prefs.php
tt-rss.php

index a316803252fd242f2f62af8ea90965c407a03c7a..cfff99184f3e5e01a955efb3c3a91ff9e3c20e8c 100644 (file)
@@ -308,3 +308,6 @@ div.fatalError textarea {
        height : 100px;
 }
 
+div.insensitive {
+       color : gray;
+}
index 0e50ff4c0ef929d63a88347b462e5e2a669785a7..729b661411b57823dad6d9d1736ca6432282c6cb 100644 (file)
--- a/digest.js
+++ b/digest.js
@@ -486,7 +486,9 @@ function redraw_feedlist(feeds) {
                }
 
                if (feeds.length == 0) {
-                       $('feeds-content').innerHTML = __("No unread feeds.");
+                       $('feeds-content').innerHTML = 
+                               "<div class='insensitive' style='text-align : center'>" + 
+                                       __("No unread feeds.") + "</div>";
                }
 
        } catch (e) {
index 913cd10aefad0a7804b67ab82e8de34c9e937aeb..366be994ef791499bc52a8bb0d5c696cb4936383 100644 (file)
 
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
 
-       <?php $user_css_url = get_pref($link, 'USER_STYLESHEET_URL'); ?>
-       <?php if ($user_css_url) { ?>
-               <link rel="stylesheet" type="text/css" href="<?php echo $user_css_url ?>"/> 
-       <?php } ?>
+       <?php print_user_stylesheet($link) ?>
 
        <link rel="shortcut icon" type="image/png" href="images/favicon.png"/>
 
index 891b9c8aaa092a6d607422b107b42bc9625b313f..9148cb4fb2888472fc965ddb47e976eb3267a9ee 100644 (file)
--- a/prefs.php
+++ b/prefs.php
@@ -24,8 +24,8 @@
 <html>
 <head>
        <title>Tiny Tiny RSS : Preferences</title>
-       <link rel="stylesheet" type="text/css" href="tt-rss.css?<?php echo $dt_add ?>"/>
        <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 ?>"/>
 
        <?php print_theme_includes($link) ?>
        <?php print_user_stylesheet($link) ?>
index b3dcd6a8d3b3701d223f4115cb010937f0405f7c..d26035b9098ed14d6ada5ee6e598d31076fbb56b 100644 (file)
 <html>
 <head>
        <title>Tiny Tiny RSS</title>
-
+       <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 ?>"/>
 
-       <link rel="stylesheet" type="text/css" href="lib/dijit/themes/claro/claro.css"/>
-
        <?php print_theme_includes($link) ?>
        <?php print_user_stylesheet($link) ?>
 
        <link rel="shortcut icon" type="image/png" href="images/favicon.png"/>
 
-       <?php if (ENABLE_TWEET_BUTTON) { ?>
-       <script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
-       <?php } ?>
-
        <script type="text/javascript" src="lib/prototype.js"></script>
        <script type="text/javascript" src="lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls"></script>
        <script type="text/javascript" src="lib/dojo/dojo.js" djConfig="parseOnLoad: true"></script>