// onclick=\"javascript:hideParentElement(this);\" src=\"images/close.png\">";
print "<a href=\"javascript:showBlockElement('feedUpdateErrors')\">
- <b>Feeds with update errors</b> (click to expand)</a>";
+ <b>Some feeds have update errors (click for details)</b></a>";
print "<ul id=\"feedUpdateErrors\" class=\"nomarks\">";
if (!n || !nb) return;
if (msg == "") {
- nb.innerHTML = " ";
-// n.style.background = "#ffffff";
+ n.style.display = "none";
} else {
- nb.innerHTML = msg;
-// n.style.background = "#fffff0";
+ n.style.display = "block";
}
+
+ nb.innerHTML = msg;
}
function notify(msg) {
if (!n || !nb) return;
if (msg == "") {
- nb.innerHTML = " ";
-// n.style.background = "#ffffff";
+ n.style.display = "none";
} else {
- nb.innerHTML = msg;
-// n.style.background = "#fffff0";
+ n.style.display = "block";
}
+ nb.innerHTML = msg;
+
}
function printLockingError() {
var link = document.getElementById("fadd_link");
if (link.value.length == 0) {
- alert("Can't add feed: missing feed URL.");
+ alert("Error: No feed URL given.");
} else {
notify("Adding feed...");
active_feed = false;
- notify("Operation cancelled.");
+// notify("Operation cancelled.");
/* xmlhttp.open("GET", "backend.php?op=pref-feeds", true);
xmlhttp.onreadystatechange=feedlist_callback;
active_feed_cat = false;
- notify("Operation cancelled.");
+// notify("Operation cancelled.");
xmlhttp.open("GET", "backend.php?op=pref-feeds", true);
xmlhttp.onreadystatechange=feedlist_callback;
active_label = false;
- notify("Operation cancelled.");
+// notify("Operation cancelled.");
xmlhttp.open("GET", "backend.php?op=pref-labels", true);
xmlhttp.onreadystatechange=labellist_callback;
active_user = false;
- notify("Operation cancelled.");
+// notify("Operation cancelled.");
xmlhttp.open("GET", "backend.php?op=pref-users", true);
xmlhttp.onreadystatechange=userlist_callback;
active_filter = false;
- notify("Operation cancelled.");
+// notify("Operation cancelled.");
xmlhttp.open("GET", "backend.php?op=pref-filters", true);
xmlhttp.onreadystatechange=filterlist_callback;
var link = document.getElementById("qafInput");
if (link.value.length == 0) {
- notify("Missing feed URL.");
+ alert("Error: No feed URL given.");
} else {
notify("Adding feed...");