diff options
author | Andrew Dolgov <[email protected]> | 2008-08-14 06:48:54 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2008-08-14 06:48:54 +0100 |
commit | 23582ce2b4fbcbce4c4f3326788f5b848d7929e9 (patch) | |
tree | 486fc521a1249d47093025aaaa08bde2f34e7f2c /modules | |
parent | 338ce36c218220f335546da724deca5f215720d9 (diff) |
tweak top25 feeds dialog when no feeds are found
Diffstat (limited to 'modules')
-rw-r--r-- | modules/pref-feeds.php | 6 |
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>"; |