summaryrefslogtreecommitdiff
path: root/modules/popup-dialog.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/popup-dialog.php')
-rw-r--r--modules/popup-dialog.php23
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>";