From fd994f1a488783003ede5fdb9cf2f68ef91696bb Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 1 Sep 2012 23:33:56 +0400 Subject: reimplement OPML filter export --- include/functions.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include/functions.php') 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"); -- cgit v1.2.3