From: Andrew Dolgov Date: Thu, 5 Feb 2009 10:52:37 +0000 (+0300) Subject: offline: disable tags X-Git-Tag: 1.3.1~79 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=3ab18266616f903810353b752c80ea6d36442a58;p=tt-rss.git offline: disable tags --- diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php index 78ccd1fd..eac84afa 100644 --- a/modules/backend-rpc.php +++ b/modules/backend-rpc.php @@ -592,8 +592,10 @@ $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 "]]>"; diff --git a/offline.js b/offline.js index 4a0bedf5..a6f830bb 100644 --- a/offline.js +++ b/offline.js @@ -32,10 +32,10 @@ function view_offline(id, feed_id) { tmp += "
" + rs.fieldByName("title") + "
"; } - tmp += "
"+ +/* tmp += "
"+ "Tags"; tmp += rs.fieldByName("tags"); - tmp += "
"; + tmp += "
"; */ tmp += "
"+ " "; - tmp += ""+ +/* tmp += ""+ "Tags"+ ""+rs.fieldByName("tags")+""+ - ""; + ""; */ tmp += "Toggle: "+