mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:15:56 +00:00
share by url stuff: use link icon instead of share
This commit is contained in:
@@ -80,7 +80,7 @@ class Share extends Plugin {
|
|||||||
|
|
||||||
return "<i id='SHARE-IMG-".$line['int_id']."' class='material-icons icon-share $img_class'
|
return "<i id='SHARE-IMG-".$line['int_id']."' class='material-icons icon-share $img_class'
|
||||||
style='cursor : pointer' onclick=\"Plugins.Share.shareArticle(".$line['int_id'].")\"
|
style='cursor : pointer' onclick=\"Plugins.Share.shareArticle(".$line['int_id'].")\"
|
||||||
title='".__('Share by URL')."'>share</i>";
|
title='".__('Share by URL')."'>link</i>";
|
||||||
}
|
}
|
||||||
|
|
||||||
function shareArticle() {
|
function shareArticle() {
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ class VF_Shared extends Plugin {
|
|||||||
function init($host) {
|
function init($host) {
|
||||||
$this->host = $host;
|
$this->host = $host;
|
||||||
|
|
||||||
$host->add_feed(-1, __("Shared articles"), 'share', $this);
|
$host->add_feed(-1, __("Shared articles"), 'link', $this);
|
||||||
}
|
}
|
||||||
|
|
||||||
function api_version() {
|
function api_version() {
|
||||||
|
|||||||
Reference in New Issue
Block a user