summaryrefslogtreecommitdiff
path: root/modules/pref-feeds.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-08-14 06:48:54 +0100
committerAndrew Dolgov <[email protected]>2008-08-14 06:48:54 +0100
commit23582ce2b4fbcbce4c4f3326788f5b848d7929e9 (patch)
tree486fc521a1249d47093025aaaa08bde2f34e7f2c /modules/pref-feeds.php
parent338ce36c218220f335546da724deca5f215720d9 (diff)
tweak top25 feeds dialog when no feeds are found
Diffstat (limited to 'modules/pref-feeds.php')
-rw-r--r--modules/pref-feeds.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php
index be4016038..50b8013e3 100644
--- a/modules/pref-feeds.php
+++ b/modules/pref-feeds.php
@@ -104,13 +104,17 @@
}
if ($feedctr == 0) {
- print "<li>".__('No feeds found to subscribe.')."</li>";
+ print "<li style=\"text-align : center\"><p>".__('No feeds found.')."</p></li>";
+ $subscribe_btn_disabled = "disabled";
+ } else {
+ $subscribe_btn_disabled = "";
}
print "</ul>";
print "<div align='center'>
<input type=\"submit\" class=\"button\"
+ $subscribe_btn_disabled
onclick=\"feedBrowserSubscribe()\" value=\"".__('Subscribe')."\">
<input type='submit' class='button'
onclick=\"closeInfoBox()\" value=\"".__('Cancel')."\"></div>";