mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-31 19:11:29 +00:00
if plugin method get_css(), embed plugin-specific css to main UI
This commit is contained in:
11
index.php
11
index.php
@@ -62,8 +62,15 @@
|
|||||||
|
|
||||||
<?php print_user_stylesheet($link) ?>
|
<?php print_user_stylesheet($link) ?>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<style type="text/css">
|
||||||
</script>
|
<?php
|
||||||
|
foreach ($pluginhost->get_plugins() as $n => $p) {
|
||||||
|
if (method_exists($p, "get_css")) {
|
||||||
|
echo $p->get_css();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</style>
|
||||||
|
|
||||||
<link rel="shortcut icon" type="image/png" href="images/favicon.png"/>
|
<link rel="shortcut icon" type="image/png" href="images/favicon.png"/>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user