summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-09 16:46:56 +0400
committerAndrew Dolgov <[email protected]>2013-04-09 16:46:56 +0400
commitccb2b8dd423b252f8d93b34f92ea567aae79cffe (patch)
treeda8a48347d9822941ff5bcfc3df0d179663b6d37 /classes
parentefd840d87fec6dfd54d381d4b44eb609d98c9d8e (diff)
add HOOK_ARTICLE_LEFT_BUTTON
Diffstat (limited to 'classes')
-rw-r--r--classes/feeds.php4
-rw-r--r--classes/pluginhost.php1
2 files changed, 5 insertions, 0 deletions
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'] .= "<div class=\"cdmFooter\">";
+ 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'] .= "<img src='images/tag.png' alt='Tags' title='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;