diff options
author | Andrew Dolgov <[email protected]> | 2007-01-27 10:21:55 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-01-27 10:21:55 +0100 |
commit | ef16ae378238fa868d282da5c4f77d8556534af4 (patch) | |
tree | 529a727d924c20c928c98c5c0e8ca5cbf22d4117 /modules | |
parent | c50e2b3004252f5f775741020003c5935560f0f7 (diff) |
rework no daemon warning
Diffstat (limited to 'modules')
-rw-r--r-- | modules/popup-dialog.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index 8a3478c8c..414e01006 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -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>"; |