offline: disable tags

master
Andrew Dolgov 16 years ago
parent f45c85f95c
commit 3ab1826661

@ -592,8 +592,10 @@
$line["marked"] = (int)sql_bool_to_bool($line["marked"]); $line["marked"] = (int)sql_bool_to_bool($line["marked"]);
$line["unread"] = (int)sql_bool_to_bool($line["unread"]); $line["unread"] = (int)sql_bool_to_bool($line["unread"]);
$line["tags"] = __("no tags");
// $line["tags"] = format_tags_string(get_article_tags($link, $id), $id); // too slow :(
// $line["tags"] = format_tags_string(
// get_article_tags($link, $line["id"]), $line["id"]);
print json_encode($line); print json_encode($line);
print "]]></article>"; print "]]></article>";

@ -32,10 +32,10 @@ function view_offline(id, feed_id) {
tmp += "<div clear='both'>" + rs.fieldByName("title") + "</div>"; tmp += "<div clear='both'>" + rs.fieldByName("title") + "</div>";
} }
tmp += "<div style='float : right'> "+ /* tmp += "<div style='float : right'> "+
"<img src='images/tag.png' class='tagsPic' alt='Tags' title='Tags'>"; "<img src='images/tag.png' class='tagsPic' alt='Tags' title='Tags'>";
tmp += rs.fieldByName("tags"); tmp += rs.fieldByName("tags");
tmp += "</div>"; tmp += "</div>"; */
tmp += "<div clear='both'>"+ tmp += "<div clear='both'>"+
"<a target=\"_blank\" "+ "<a target=\"_blank\" "+
@ -352,10 +352,10 @@ function viewfeed_offline(feed_id, subop, is_cat, subop_param, skip_history, off
tmp += "</span><span class='s1'>"+marked_pic+"</span> "; tmp += "</span><span class='s1'>"+marked_pic+"</span> ";
tmp += "<span class='s1'>"+ /* tmp += "<span class='s1'>"+
"<img class='tagsPic' src='images/tag.png' alt='Tags' title='Tags'>"+ "<img class='tagsPic' src='images/tag.png' alt='Tags' title='Tags'>"+
"<span id=\"ATSTR-"+id+"\">"+rs.fieldByName("tags")+"</span>"+ "<span id=\"ATSTR-"+id+"\">"+rs.fieldByName("tags")+"</span>"+
"</span>"; "</span>"; */
tmp += "<span class='s2'>Toggle: <a class=\"cdmToggleLink\""+ tmp += "<span class='s2'>Toggle: <a class=\"cdmToggleLink\""+
"href=\"javascript:toggleUnread("+id+")\">"+ "href=\"javascript:toggleUnread("+id+")\">"+

Loading…
Cancel
Save