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

This commit is contained in:
fox 2019-10-08 07:06:07 +00:00 committed by Gogs
commit d029e18976
2 changed files with 6 additions and 0 deletions

View File

@ -60,6 +60,7 @@ class PluginHost {
const HOOK_FILTER_TRIGGERED = 40; const HOOK_FILTER_TRIGGERED = 40;
const HOOK_GET_FULL_TEXT = 41; const HOOK_GET_FULL_TEXT = 41;
const HOOK_ARTICLE_IMAGE = 42; const HOOK_ARTICLE_IMAGE = 42;
const HOOK_FEED_TREE = 43;
const KIND_ALL = 1; const KIND_ALL = 1;
const KIND_SYSTEM = 2; const KIND_SYSTEM = 2;

View File

@ -140,6 +140,11 @@
<div id="feedlistLoading"> <div id="feedlistLoading">
<img src='images/indicator_tiny.gif'/> <img src='images/indicator_tiny.gif'/>
<?php echo __("Loading, please wait..."); ?></div> <?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 id="feedTree"></div>
</div> </div>