diff options
author | Andrew Dolgov <[email protected]> | 2009-01-26 11:07:53 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2009-01-26 11:07:53 +0100 |
commit | 2eb9c95c970644f8408da9d22b60a66caadd36fb (patch) | |
tree | 28898aa275858840119816938380f1ef4562a5f6 /modules/backend-rpc.php | |
parent | c218ceb82c23fc37179c792a6c67af5114f0d079 (diff) |
support colored labels
Diffstat (limited to 'modules/backend-rpc.php')
-rw-r--r-- | modules/backend-rpc.php | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php index 855d54aa7..04e2858ca 100644 --- a/modules/backend-rpc.php +++ b/modules/backend-rpc.php @@ -444,10 +444,7 @@ print "<entry id=\"$id\"><![CDATA["; $labels = get_article_labels($link, $id, $_SESSION["uid"]); - - foreach ($labels as $l) { - print "<span class='hlLabelRef'>".$l[1]."</span>"; - } + print format_article_labels($labels, $id); print "]]></entry>"; @@ -483,10 +480,7 @@ print "<entry id=\"$id\"><![CDATA["; $labels = get_article_labels($link, $id, $_SESSION["uid"]); - - foreach ($labels as $l) { - print "<span class='hlLabelRef'>".$l[1]."</span>"; - } + print format_article_labels($labels, $id); print "]]></entry>"; |