diff options
author | Andrew Dolgov <[email protected]> | 2013-04-09 16:46:56 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-09 16:46:56 +0400 |
commit | ccb2b8dd423b252f8d93b34f92ea567aae79cffe (patch) | |
tree | da8a48347d9822941ff5bcfc3df0d179663b6d37 /include/functions.php | |
parent | efd840d87fec6dfd54d381d4b44eb609d98c9d8e (diff) |
add HOOK_ARTICLE_LEFT_BUTTON
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 11 |
1 files changed, 8 insertions, 3 deletions
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</div>"; 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'] .= "<span id=\"ATSTR-$id\">$tags_str</span>"; } $rv['content'] .= "</div>"; - $rv['content'] .= "<div clear='both'>$entry_comments</div>"; + $rv['content'] .= "<div clear='both'>"; + + 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</div>"; if ($line["orig_feed_id"]) { |