diff options
author | fox <[email protected]> | 2019-10-08 07:06:07 +0000 |
---|---|---|
committer | Gogs <[email protected]> | 2019-10-08 07:06:07 +0000 |
commit | d029e18976649c8fe928f685b9db423310f8f0f9 (patch) | |
tree | d73355d9f68c5f14533b008074a46742e647e91c | |
parent | ac3d561f4d797a47fb055bc158e5237053692a4f (diff) | |
parent | 8fd11fd53abe81b97a95e150bf52ec74ac51fce2 (diff) |
Merge branch 'hook-feed-tree' of jc/tt-rss into master
-rwxr-xr-x | classes/pluginhost.php | 1 | ||||
-rw-r--r-- | index.php | 5 |
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; @@ -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> |