1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-18 23:31:31 +00:00

reimplement OPML filter export

This commit is contained in:
Andrew Dolgov
2012-09-01 23:33:56 +04:00
parent ff34bac2bf
commit fd994f1a48
2 changed files with 48 additions and 23 deletions

View File

@@ -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");