mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-23 22:31:29 +00:00
rework no daemon warning
This commit is contained in:
@@ -3,6 +3,29 @@
|
||||
$id = $_GET["id"];
|
||||
$param = db_escape_string($_GET["param"]);
|
||||
|
||||
if ($id == "explainError") {
|
||||
|
||||
print "<div id=\"infoBoxTitle\">Error message</div>";
|
||||
print "<div class=\"infoBoxContents\">";
|
||||
|
||||
if ($param == 1) {
|
||||
print _("Update daemon is enabled in configuration, but daemon
|
||||
process is not running, which prevents all feeds from updating. Please
|
||||
start the daemon process or contact instance owner.");
|
||||
}
|
||||
|
||||
print "</div>";
|
||||
|
||||
print "<div align='center'>";
|
||||
|
||||
print "<input class=\"button\"
|
||||
type=\"submit\" onclick=\"return closeInfoBox()\"
|
||||
value=\"Close\">";
|
||||
|
||||
print "</div>";
|
||||
|
||||
}
|
||||
|
||||
if ($id == "quickAddFeed") {
|
||||
|
||||
print "<div id=\"infoBoxTitle\">Subscribe to feed</div>";
|
||||
|
||||
Reference in New Issue
Block a user