]>
git.wh0rd.org - tt-rss.git/blob - plugins/mark_button/init.php
2 class Mark_Button
extends Plugin
{
8 $host->add_hook($host::HOOK_ARTICLE_BUTTON
, $this);
13 "Bottom un/star button for the combined mode",
17 function hook_article_button($line) {
21 if (get_pref( "COMBINED_DISPLAY_MODE")) {
22 if (sql_bool_to_bool($line["marked"])) {
24 src=\"images/mark_set.svg\"
25 class=\"markedPic\" alt=\"Unstar article\"
26 onclick='toggleMark($id)'>";
29 src=\"images/mark_unset.svg\"
30 class=\"markedPic\" alt=\"Star article\"
31 onclick='toggleMark($id)'>";