tweak top25 feeds dialog when no feeds are found

This commit is contained in:
Andrew Dolgov 2008-08-14 06:48:54 +01:00
parent 338ce36c21
commit 23582ce2b4
1 changed files with 5 additions and 1 deletions

View File

@ -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>";