]> git.wh0rd.org Git - tt-rss.git/commitdiff
offline: disable tags
authorAndrew Dolgov <fox@bah.org.ru>
Thu, 5 Feb 2009 10:52:37 +0000 (13:52 +0300)
committerAndrew Dolgov <fox@bah.org.ru>
Thu, 5 Feb 2009 10:52:37 +0000 (13:52 +0300)
modules/backend-rpc.php
offline.js

index 78ccd1fd65f07e18908569a652980bb7efdde04f..eac84afa510814666241092f9c435f0bc4d423a3 100644 (file)
        
                                                        $line["marked"] = (int)sql_bool_to_bool($line["marked"]);
                                                        $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 "]]></article>";
index 4a0bedf504b7edbfa0fec37c9cdfc787bd041a1b..a6f830bb9a394f9b857859c82a0ddf0590b4005e 100644 (file)
@@ -32,10 +32,10 @@ function view_offline(id, feed_id) {
                                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'>";
                        tmp += rs.fieldByName("tags");
-                       tmp += "</div>";
+                       tmp += "</div>"; */
 
                        tmp += "<div clear='both'>"+
                                "<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 class='s1'>"+
+/*                                     tmp += "<span class='s1'>"+
                                                "<img class='tagsPic' src='images/tag.png' alt='Tags' title='Tags'>"+
                                                "<span id=\"ATSTR-"+id+"\">"+rs.fieldByName("tags")+"</span>"+
-                                               "</span>";
+                                               "</span>"; */
 
                                        tmp += "<span class='s2'>Toggle: <a class=\"cdmToggleLink\""+
                                                "href=\"javascript:toggleUnread("+id+")\">"+