"; if ($tags) { print __("Tags")." (".__("View feeds").", "; } else { print __("Feeds")." (".__("View tags").", "; } print "".__("Search").", "; print "".__("Logout").")"; print ""; print ""; } $category = $tmp_category; $collapsed = $line["collapsed"]; // workaround for NULL category if ($category == "Uncategorized") { $collapsed = get_pref($link, "_COLLAPSED_UNCAT"); } if ($collapsed == "t" || $collapsed == "1") { $holder_class = "invisible"; $ellipsis = "..."; } else { $holder_class = "feedCatHolder"; $ellipsis = ""; } if ($cat_id) { $cat_id_qpart = "cat_id = '$cat_id'"; } else { $cat_id_qpart = "cat_id IS NULL"; } $cat_id = sprintf("%d", $cat_id); $cat_unread = getCategoryUnread($link, $cat_id); if ($cat_unread > 0) { $catctr_class = ""; } else { $catctr_class = "invisible"; } print "
  • $tmp_category ($cat_unread)$ellipsis
  • "; print "