diff --git a/classes/feeds.php b/classes/feeds.php index 521aec708..6427559e1 100644 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -678,6 +678,10 @@ class Feeds extends Handler_Protected { $reply['content'] .= "
"; + foreach ($pluginhost->get_hooks($pluginhost::HOOK_ARTICLE_LEFT_BUTTON) as $p) { + $reply['content'] .= $p->hook_article_left_button($line); + } + $tags_str = format_tags_string($line["tags"], $id); $reply['content'] .= "Tags diff --git a/classes/pluginhost.php b/classes/pluginhost.php index a75027033..9ae7b809e 100644 --- a/classes/pluginhost.php +++ b/classes/pluginhost.php @@ -28,6 +28,7 @@ class PluginHost { const HOOK_ACTION_ITEM = 16; const HOOK_HEADLINE_TOOLBAR_BUTTON = 17; const HOOK_HOTKEY_INFO = 18; + const HOOK_ARTICLE_LEFT_BUTTON = 19; const KIND_ALL = 1; const KIND_SYSTEM = 2; diff --git a/include/functions.php b/include/functions.php index f639b973b..c4eed06a1 100644 --- a/include/functions.php +++ b/include/functions.php @@ -3141,18 +3141,23 @@ position=\"below\">$tags_str_full
"; global $pluginhost; - foreach ($pluginhost->get_hooks($pluginhost::HOOK_ARTICLE_BUTTON) as $p) { $rv['content'] .= $p->hook_article_button($line); } - } else { $tags_str = strip_tags($tags_str); $rv['content'] .= "$tags_str"; } $rv['content'] .= ""; - $rv['content'] .= "
$entry_comments
"; + $rv['content'] .= "
"; + + global $pluginhost; + foreach ($pluginhost->get_hooks($pluginhost::HOOK_ARTICLE_LEFT_BUTTON) as $p) { + $rv['content'] .= $p->hook_article_left_button($line); + } + + $rv['content'] .= "$entry_comments
"; if ($line["orig_feed_id"]) {