diff options
Diffstat (limited to 'plugins/share/init.php')
-rw-r--r-- | plugins/share/init.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/share/init.php b/plugins/share/init.php index 37799fba6..64a9054eb 100644 --- a/plugins/share/init.php +++ b/plugins/share/init.php @@ -3,7 +3,7 @@ class Share extends Plugin { private $host; function about() { - return array(1.0, + return array(null, "Share article by unique URL", "fox"); } @@ -47,9 +47,10 @@ class Share extends Plugin { ?> <hr/> - <h2><?= __("You can disable all articles shared by unique URLs here.") ?></h2> + <?= format_notice("You can disable all articles shared by unique URLs here.") ?></h2> <button class='alt-danger' dojoType='dijit.form.Button' onclick="return Plugins.Share.clearKeys()"> + <?= \Controls\icon('delete') ?> <?= __('Unshare all articles') ?></button> <?php } @@ -141,7 +142,7 @@ class Share extends Plugin { $line); $enclosures = Article::_get_enclosures($line["id"]); - list ($og_image, $og_stream) = Article::_get_image($enclosures, $line['content'], $line["site_url"]); + list ($og_image, $og_stream) = Article::_get_image($enclosures, $line['content'], $line["site_url"], $line); $content_decoded = html_entity_decode($line["title"], ENT_NOQUOTES | ENT_HTML401); $parsed_updated = TimeHelper::make_local_datetime($line["updated"], true, $owner_uid, true); |