1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-03 17:19:15 +00:00

add quick unsubscribe button to prefs/feedlist

This commit is contained in:
Andrew Dolgov
2008-07-25 08:48:15 +01:00
parent abaf02111e
commit 7bce63e768
3 changed files with 44 additions and 1 deletions

View File

@@ -968,6 +968,7 @@
$cat_id = $line["cat_id"];
$edit_title = htmlspecialchars($line["title"]);
$feed_title = $edit_title;
$edit_cat = htmlspecialchars($line["category"]);
$hidden = sql_bool_to_bool($line["hidden"]);
@@ -1063,6 +1064,11 @@
$parent_title)</span>";
}
$ops = "<span class=\"feedOps\">
(<a title=\"".__('Unsubscribe')."\"
href='javascript:removeFeed($feed_id, \"$feed_title\")'>x</a>)
</span>";
print "<td $onclick>" . "$edit_title $parent_title" . "</td>";
if ($show_last_article_info) {
@@ -1070,7 +1076,7 @@
"$last_article</td>";
}
print "<td $onclick align='right'>$last_updated</td>";
print "<td align='right'>$ops $last_updated</td>";
print "</tr>";