share by url stuff: use link icon instead of share

master
Andrew Dolgov 6 years ago
parent 37205321d9
commit 94bc24ff31

@ -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() {

Loading…
Cancel
Save