From ccb2b8dd423b252f8d93b34f92ea567aae79cffe Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 9 Apr 2013 16:46:56 +0400 Subject: add HOOK_ARTICLE_LEFT_BUTTON --- include/functions.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'include/functions.php') 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"]) { -- cgit v1.2.3