summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--digest.css3
-rw-r--r--digest.js4
-rw-r--r--digest.php5
-rw-r--r--prefs.php2
-rw-r--r--tt-rss.php8
5 files changed, 9 insertions, 13 deletions
diff --git a/digest.css b/digest.css
index a31680325..cfff99184 100644
--- a/digest.css
+++ b/digest.css
@@ -308,3 +308,6 @@ div.fatalError textarea {
height : 100px;
}
+div.insensitive {
+ color : gray;
+}
diff --git a/digest.js b/digest.js
index 0e50ff4c0..729b66141 100644
--- 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) {
diff --git a/digest.php b/digest.php
index 913cd10ae..366be994e 100644
--- a/digest.php
+++ b/digest.php
@@ -29,10 +29,7 @@
<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"/>
diff --git a/prefs.php b/prefs.php
index 891b9c8aa..9148cb4fb 100644
--- 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) ?>
diff --git a/tt-rss.php b/tt-rss.php
index b3dcd6a8d..d26035b90 100644
--- a/tt-rss.php
+++ b/tt-rss.php
@@ -24,21 +24,15 @@
<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>