Merge branch 'hook-feed-tree' of jc/tt-rss into master

master
fox 5 years ago committed by Gogs
commit d029e18976

@ -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>

Loading…
Cancel
Save