diff options
author | Andrew Dolgov <[email protected]> | 2009-01-18 16:07:31 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2009-01-18 16:07:31 +0100 |
commit | f92471951b6bf7f3e11a7c9e584cb6eff5d8c233 (patch) | |
tree | 80b675c63ad708341b05e1762215f52179f8e013 /functions.php | |
parent | 1380f8eed4015a2759f9f49e9c90145c464ecd0c (diff) |
dynamically show new label markers in headlines buffer w/o reload
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/functions.php b/functions.php index 1d5210677..984365e73 100644 --- a/functions.php +++ b/functions.php @@ -5019,7 +5019,7 @@ $feed_id = $line["feed_id"]; $labels = get_article_labels($link, $id); - $labels_str = ""; + $labels_str = "<span id=\"HLLCTR-$id\">"; foreach ($labels as $l) { $labels_str .= "<span @@ -5027,6 +5027,8 @@ $l[1]."</span>"; } + $labels_str .= "</span>"; + if (count($topmost_article_ids) < 5) { array_push($topmost_article_ids, $id); } |