diff options
author | Andrew Dolgov <[email protected]> | 2005-11-16 18:47:58 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-11-16 18:47:58 +0100 |
commit | 4668523d7ceb98d033c6602f6b0d1540f1e49103 (patch) | |
tree | 85780efb2c80ed9383c12b9fb2e34c3534bfc7d6 | |
parent | 4769ddaf7204bf096f8e0e6204a26f3ad328c71a (diff) |
printFeedEntry now expects $link
-rw-r--r-- | backend.php | 8 | ||||
-rw-r--r-- | functions.php | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/backend.php b/backend.php index 06563e689..e70fc9d7e 100644 --- a/backend.php +++ b/backend.php @@ -164,7 +164,7 @@ if ($num_starred > 0) $class .= "Unread"; printFeedEntry(-1, $class, "Starred articles", $num_starred, - "images/mark_set.png"); + "images/mark_set.png", $link); if (get_pref($link, 'ENABLE_LABELS')) { @@ -193,7 +193,7 @@ error_reporting (E_ERROR | E_WARNING | E_PARSE); printFeedEntry(-$line["id"]-11, - $class, $line["description"], $count, "images/label.png"); + $class, $line["description"], $count, "images/label.png", $link); } } @@ -237,7 +237,7 @@ $total_unread += $unread; - printFeedEntry($feed_id, $class, $feed, $unread, "icons/$feed_id.ico"); + printFeedEntry($feed_id, $class, $feed, $unread, "icons/$feed_id.ico", $link); ++$lnum; } @@ -267,7 +267,7 @@ $class .= "Unread"; } - printFeedEntry($tag, $class, $tag, $unread, "images/tag.png"); + printFeedEntry($tag, $class, $tag, $unread, "images/tag.png", $link); } diff --git a/functions.php b/functions.php index b9392d818..d9d9c37fd 100644 --- a/functions.php +++ b/functions.php @@ -419,7 +419,7 @@ return false; } - function printFeedEntry($feed_id, $class, $feed_title, $unread, $icon_file) { + function printFeedEntry($feed_id, $class, $feed_title, $unread, $icon_file, $link) { if (file_exists($icon_file) && filesize($icon_file) > 0) { $feed_icon = "<img src=\"$icon_file\">"; |