offline CDM generator: show feed icons

This commit is contained in:
Andrew Dolgov 2009-02-04 17:27:29 +03:00
parent a400a562e9
commit d07f08e824
1 changed files with 10 additions and 3 deletions

View File

@ -283,9 +283,10 @@ function viewfeed_offline(feed_id, subop, is_cat, subop_param, skip_history, off
tmp += "</a>"; tmp += "</a>";
tmp += "</td>"; tmp += "</td>";
tmp += "<td class=\"hlUpdated\" onclick='view("+id+","+feed_id+")'>"+ tmp += "<td class=\"hlUpdated\" onclick='view("+id+","+feed_id+")'>"+
"<nobr>"+rs.fieldByName("updated").substring(0,16)+"</nobr></td>"; "<nobr>"+rs.fieldByName("updated").substring(0,16)+
"</nobr></td>";
tmp += "</tr>"; tmp += "</tr>";
} else { } else {
@ -299,9 +300,15 @@ function viewfeed_offline(feed_id, subop, is_cat, subop_param, skip_history, off
tmp += "<div class=\"cdmArticle"+add_class+"\" id=\"RROW-"+id+"\" "+ tmp += "<div class=\"cdmArticle"+add_class+"\" id=\"RROW-"+id+"\" "+
mouseover_attrs+"'>"; mouseover_attrs+"'>";
feed_icon_img = "<img class=\"tinyFeedIcon\" src=\""+
getInitParam("icons_url")+"/"+feed_id+".ico\" alt=\"\">";
cdm_feed_icon = "<span style=\"cursor : pointer\" "+
"onclick=\"viewfeed("+feed_id+")\">"+feed_icon_img+"</span>";
tmp += "<div class=\"cdmHeader\">"; tmp += "<div class=\"cdmHeader\">";
tmp += "<div class=\"articleUpdated\">"+ tmp += "<div class=\"articleUpdated\">"+
rs.fieldByName("updated").substring(0,16)+"</div>"; rs.fieldByName("updated").substring(0,16)+
" "+cdm_feed_icon+"</div>";
tmp += "<span id=\"RTITLE-"+id+"\" class=\"titleWrap\">"+ tmp += "<span id=\"RTITLE-"+id+"\" class=\"titleWrap\">"+
"<a class=\"title\" onclick=\"javascript:toggleUnread("+id+", 0)\""+ "<a class=\"title\" onclick=\"javascript:toggleUnread("+id+", 0)\""+