mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 04:55:54 +00:00
share: indicate whether article is shared or not using the icon
This commit is contained in:
@@ -69,7 +69,9 @@ class Share extends Plugin {
|
||||
}
|
||||
|
||||
function hook_article_button($line) {
|
||||
return "<img src=\"plugins/share/share.png\"
|
||||
$img = $line['uuid'] ? "share.png" : "notshared.png";
|
||||
|
||||
return "<img id='SHARE-IMG-".$line['int_id']."' src=\"plugins/share/$img\"
|
||||
class='tagsPic' style=\"cursor : pointer\"
|
||||
onclick=\"shareArticle(".$line['int_id'].")\"
|
||||
title='".__('Share by URL')."'>";
|
||||
|
||||
Reference in New Issue
Block a user