|
|
@ -2926,12 +2926,14 @@
|
|
|
|
$cat_id = sprintf("%d", $cat_id);
|
|
|
|
$cat_id = sprintf("%d", $cat_id);
|
|
|
|
|
|
|
|
|
|
|
|
$cat_unread = getCategoryUnread($link, $cat_id);
|
|
|
|
$cat_unread = getCategoryUnread($link, $cat_id);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$catctr_class = ($cat_unread > 0) ? "catCtrHasUnread" : "catCtrNoUnread";
|
|
|
|
|
|
|
|
|
|
|
|
print "<li class=\"feedCat\" id=\"FCAT-$cat_id\">
|
|
|
|
print "<li class=\"feedCat\" id=\"FCAT-$cat_id\">
|
|
|
|
<a id=\"FCATN-$cat_id\" href=\"#\" onclick=\"javascript:toggleCollapseCat($cat_id)\">$tmp_category</a>
|
|
|
|
<a id=\"FCATN-$cat_id\" href=\"#\"onclick=\"javascript:toggleCollapseCat($cat_id)\">$tmp_category</a>
|
|
|
|
<a href=\"#\" onclick=\"javascript:viewCategory($cat_id)\" id=\"FCAP-$cat_id\">
|
|
|
|
<a href=\"#\" onclick=\"javascript:viewCategory($cat_id)\" id=\"FCAP-$cat_id\">
|
|
|
|
<span id=\"FCATCTR-$cat_id\"
|
|
|
|
<span id=\"FCATCTR-$cat_id\" title=\"Click to browse category\"
|
|
|
|
class=\"$catctr_class\">($cat_unread unread)</span> $ellipsis
|
|
|
|
class=\"$catctr_class\">($cat_unread)</span> $ellipsis
|
|
|
|
</a></li>";
|
|
|
|
</a></li>";
|
|
|
|
|
|
|
|
|
|
|
|
// !!! NO SPACE before <ul...feedCatList - breaks firstChild DOM function
|
|
|
|
// !!! NO SPACE before <ul...feedCatList - breaks firstChild DOM function
|
|
|
|