summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-09-01 23:33:56 +0400
committerAndrew Dolgov <[email protected]>2012-09-01 23:33:56 +0400
commitfd994f1a488783003ede5fdb9cf2f68ef91696bb (patch)
tree4b0821af73b544762bfbecda53935fd83e4c23ef /include
parentff34bac2bf4cb6ce6858c5d1afbb2a71aa18879a (diff)
reimplement OPML filter export
Diffstat (limited to 'include')
-rw-r--r--include/functions.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/functions.php b/include/functions.php
index ac0276fc7..960cf996f 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -2015,7 +2015,7 @@
}
- function getFeedIcon($id) {
+ function getFeedIcon($id, $cat) {
switch ($id) {
case 0:
return "images/archive.png";
@@ -2046,8 +2046,10 @@
}
}
- function getFeedTitle($link, $id) {
- if ($id == -1) {
+ function getFeedTitle($link, $id, $cat = false) {
+ if ($cat) {
+ return getFeedCatTitle($link, $id);
+ } else if ($id == -1) {
return __("Starred articles");
} else if ($id == -2) {
return __("Published articles");