summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xclasses/pluginhost.php1
-rw-r--r--index.php5
2 files changed, 6 insertions, 0 deletions
diff --git a/classes/pluginhost.php b/classes/pluginhost.php
index eab808ae9..ac782e699 100755
--- a/classes/pluginhost.php
+++ b/classes/pluginhost.php
@@ -60,6 +60,7 @@ class PluginHost {
const HOOK_FILTER_TRIGGERED = 40;
const HOOK_GET_FULL_TEXT = 41;
const HOOK_ARTICLE_IMAGE = 42;
+ const HOOK_FEED_TREE = 43;
const KIND_ALL = 1;
const KIND_SYSTEM = 2;
diff --git a/index.php b/index.php
index ee66c0ef8..cf57def79 100644
--- a/index.php
+++ b/index.php
@@ -140,6 +140,11 @@
<div id="feedlistLoading">
<img src='images/indicator_tiny.gif'/>
<?php echo __("Loading, please wait..."); ?></div>
+ <?php
+ foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_FEED_TREE) as $p) {
+ echo $p->hook_feed_tree();
+ }
+ ?>
<div id="feedTree"></div>
</div>