diff options
author | Andrew Dolgov <[email protected]> | 2011-03-28 12:34:39 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-03-28 12:34:39 +0400 |
commit | a4cd9d58ff94d6603cdd5e36870e26fdfe40ca5e (patch) | |
tree | b964b0aa5e01d0f20a472c01e44413c4404c5a59 | |
parent | aa3b9272c6dca329c9007f5505f7c1ceafb8d040 (diff) |
update feeds with errors dialog
-rw-r--r-- | modules/popup-dialog.php | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index 2046d9a30..e9c553f97 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -544,14 +544,19 @@ print __("These feeds have not been updated because of errors:"); - $result = db_query($link, "SELECT id,title,feed_url,last_error + $result = db_query($link, "SELECT id,title,feed_url,last_error,site_url FROM ttrss_feeds WHERE last_error != '' AND owner_uid = ".$_SESSION["uid"]); print "<ul class='feedErrorsList'>"; while ($line = db_fetch_assoc($result)) { - print "<li><b>" . $line["title"] . "</b> (" . $line["feed_url"] . "): " . - "<em>" . $line["last_error"] . "</em>"; + print "<li><a target=\"_blank\" class=\"visibleLink\" href=\"". + htmlspecialchars($line["site_url"])."\">". + htmlspecialchars($line["title"])."</a> (". + "<a target=\"_blank\" class=\"visibleLink\" + href=\"".htmlspecialchars($line["feed_url"]). + "\">".__("feed")."</a>): ". + $line["last_error"]."</li>"; } print "</ul>"; |