diff options
Diffstat (limited to 'feedlist.js')
-rw-r--r-- | feedlist.js | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/feedlist.js b/feedlist.js index d7b35ba98..b140c6d07 100644 --- a/feedlist.js +++ b/feedlist.js @@ -30,40 +30,6 @@ function viewCategory(cat) { return false; } -function printFeedEntry(id, title, row_class, unread, icon) { - - var tmp = ""; - var fctr_class = ""; - var feed_icon = ""; - - if (unread > 0) { - row_class += "Unread"; - fctr_class = "feedCtrHasUnread"; - } else { - fctr_class = "feedCtrNoUnread"; - } - - if (icon) { - feed_icon = "<img id='FIMG-"+id+"' src='" + icon + "'>"; - } else { - feed_icon = "<img id='FIMG-"+id+"' src='images/blank_icon.gif'>"; - } - - var link = "<a title=\"FIXME\" id=\"FEEDL-"+id+"\""+ - "href=\"javascript:viewfeed('"+id+"', '', false, '', false, 0);\">"+ - title + "</a>"; - - tmp += "<li id='FEEDR-"+id+"' class="+row_class+">" + feed_icon + - "<span id=\"FEEDN-"+id+"\">" + link + "</span>"; - - tmp += " <span class='"+fctr_class+"' id=\"FEEDCTR-"+id+"\">" + - "(<span id=\"FEEDU-"+id+"\">"+unread+"</span>)</span>"; - - tmp += "</li>"; - - return tmp; -} - function render_feedlist(data) { try { @@ -429,9 +395,6 @@ function feedlist_dragsorted(ctr) { function feedlist_init() { try { -// if (arguments.callee.done) return; -// arguments.callee.done = true; - loading_set_progress(90); debug("in feedlist init"); |