move update error warning box
This commit is contained in:
parent
afb7a1d60e
commit
4904f84564
42
backend.php
42
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\"
|
||||
|
|
Loading…
Reference in New Issue