/* virtual feeds */
if (get_pref($link, 'ENABLE_FEED_CATS')) {
- print "<li class=\"feedCat\">Special</li>\n";
- print "<li id=\"feedCatHolder\"><ul class=\"feedCatList\">\n";
+ print "<li class=\"feedCat\">Special</li>";
+ print "<li id=\"feedCatHolder\"><ul class=\"feedCatList\">";
}
$result = db_query($link, "SELECT count(id) as num_starred
if (db_num_rows($result) > 0) {
if (get_pref($link, 'ENABLE_FEED_CATS')) {
- print "<li class=\"feedCat\">Labels</li>\n";
- print "<li id=\"feedCatHolder\"><ul class=\"feedCatList\">\n";
+ print "<li class=\"feedCat\">Labels</li>";
+ print "<li id=\"feedCatHolder\"><ul class=\"feedCatList\">";
} else {
- print "<li><hr></li>\n";
+ print "<li><hr></li>";
}
}
if (child.id == "feedCatHolder") {
var fcat = child.lastChild;
for (j = 0; j < fcat.childNodes.length; j++) {
- var feed = fcat.childNodes[j];
+ var feed = fcat.childNodes[j];
feed.className = feed.className.replace("Selected", "");
}
}