diff options
author | Andrew Dolgov <[email protected]> | 2009-02-06 11:08:56 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2009-02-06 11:08:56 +0300 |
commit | ed22888b0d413830c3a3c511dd8d357afe489e2a (patch) | |
tree | 4fe534debda2832927d7ede6f0dc699427958f1e /modules/backend-rpc.php | |
parent | 424fc145bec775d5970afac0bad56bbb8332c6eb (diff) |
offline: store labels
Diffstat (limited to 'modules/backend-rpc.php')
-rw-r--r-- | modules/backend-rpc.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php index 711455de0..af8a94e35 100644 --- a/modules/backend-rpc.php +++ b/modules/backend-rpc.php @@ -570,6 +570,23 @@ print "</feed-categories>"; + print "<labels>"; + + $result = db_query($link, "SELECT * FROM + ttrss_labels2 WHERE owner_uid = ".$_SESSION["uid"]); + + while ($line = db_fetch_assoc($result)) { + print "<label + id=\"".$line["id"]."\" + fg_color=\"".$line["fg_color"]."\" + bg_color=\"".$line["bg_color"]."\" + ><![CDATA["; + print $line["caption"]; + print "]]></label>"; + } + + + print "</labels>"; } |