diff options
author | Andrew Dolgov <[email protected]> | 2006-12-01 07:26:05 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-12-01 07:26:05 +0100 |
commit | a3656a415f2e557014eef45a395ad19e10771ff5 (patch) | |
tree | 4e98a66596d2aea71a5eda6c980cdb7853c9c021 /modules/popup-dialog.php | |
parent | d96d11f4ff0f796cd1dc948bab69241d07326f56 (diff) |
tweak feed errors notification
Diffstat (limited to 'modules/popup-dialog.php')
-rw-r--r-- | modules/popup-dialog.php | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index 02282f46b..d3933ae77 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -240,6 +240,36 @@ } + if ($id == "feedUpdateErrors") { + + print "<div id=\"infoBoxTitle\">Update Errors</div>"; + print "<div class=\"infoBoxContents\">"; + + print "These feeds have not been updated because of errors:"; + + $result = db_query($link, "SELECT id,title,feed_url,last_error + FROM ttrss_feeds WHERE last_error != '' AND owner_uid = ".$_SESSION["uid"]); + + print "<ul class='nomarks'>"; + + while ($line = db_fetch_assoc($result)) { + print "<li><b>" . $line["title"] . "</b> (" . $line["feed_url"] . "): " . + "<em>" . $line["last_error"] . "</em>"; + } + + print "</ul>"; + print "</div>"; + + print "<div align='center'>"; + + print "<input class=\"button\" + type=\"submit\" onclick=\"return closeInfoBox()\" + value=\"Close\">"; + + print "</div>"; + + } + print "</div>"; } ?> |