1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-25 07:41:32 +00:00

mobile: add support for publishing articles

This commit is contained in:
Andrew Dolgov
2007-12-05 07:28:19 +01:00
parent 85233b8ea0
commit 510ac75fa0
2 changed files with 19 additions and 1 deletions

View File

@@ -458,7 +458,13 @@
} else {
$marked_pic = "<img class='marked' src=\"../images/mark_unset.png\">";
}
if ($line["published"] == "t" || $line["published"] == "1") {
$published_pic = "<img class='marked' src=\"../images/pub_set.gif\">";
} else {
$published_pic = "<img class='marked' src=\"../images/pub_unset.gif\">";
}
$content_link = "<a href=\"?go=view&id=$id&ret_feed=$feed&feed=$feed_id\">" .
$line["title"] . "</a>";
@@ -472,6 +478,7 @@
print "<li class='$class'>";
print "<a href=\"?go=vf&id=$feed&ts=$id\">$marked_pic</a>";
print "<a href=\"?go=vf&id=$feed&tp=$id\">$published_pic</a>";
print $content_link;