diff options
Diffstat (limited to 'modules')
-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>"; } |