diff options
author | Andrew Dolgov <[email protected]> | 2005-11-23 10:50:37 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-11-23 10:50:37 +0100 |
commit | 4904f84564c1f4b13ef9cf58f7875a01936d53d4 (patch) | |
tree | b676ca9fbfe249d93f5c99ad74bdebb5a8de3454 | |
parent | afb7a1d60e440937337ca52ef8f20201a0033735 (diff) |
move update error warning box
-rw-r--r-- | backend.php | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/backend.php b/backend.php index 8987f627c..fa032d0fb 100644 --- a/backend.php +++ b/backend.php @@ -1088,27 +1088,6 @@ } } - $result = db_query($link, "SELECT id,title,feed_url,last_error - FROM ttrss_feeds WHERE last_error != '' AND owner_uid = ".$_SESSION["uid"]); - - if (db_num_rows($result) > 0) { - - print "<div class=\"warning\">"; - - print "<b>Feeds with update errors:</b>"; - - print "<ul class=\"nomarks\">"; - - while ($line = db_fetch_assoc($result)) { - print "<li>" . $line["title"] . " (" . $line["feed_url"] . "): " . - $line["last_error"]; - } - - print "</ul>"; - print "</div>"; - - } - if (get_pref($link, 'ENABLE_FEED_CATS')) { // print "<h3>Categories</h3>"; @@ -1202,6 +1181,27 @@ print "<hr><p>"; + $result = db_query($link, "SELECT id,title,feed_url,last_error + FROM ttrss_feeds WHERE last_error != '' AND owner_uid = ".$_SESSION["uid"]); + + if (db_num_rows($result) > 0) { + + print "<div class=\"warning\">"; + + print "<b>Feeds with update errors:</b>"; + + print "<ul class=\"nomarks\">"; + + while ($line = db_fetch_assoc($result)) { + print "<li>" . $line["title"] . " (" . $line["feed_url"] . "): " . + $line["last_error"]; + } + + print "</ul>"; + print "</div>"; + + } + print "<div class=\"prefGenericAddBox\"> <input id=\"fadd_link\" size=\"40\"> <input type=\"submit\" class=\"button\" |