summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index 6708612d6..9fba3c83c 100644
--- a/functions.php
+++ b/functions.php
@@ -2940,6 +2940,26 @@
}
+ function getFeedIcon($id) {
+ switch ($id) {
+ case -1:
+ return "images/mark_set.gif";
+ break;
+ case -2:
+ return "images/pub_set.gif";
+ break;
+ case -3:
+ return "images/fresh.png";
+ break;
+ case -4:
+ return "images/tag.png";
+ break;
+ default:
+ return ICONS_URL . "/$id.ico";
+ break;
+ }
+ }
+
function getFeedTitle($link, $id) {
if ($id == -1) {
return __("Starred articles");