mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 17:25:55 +00:00
add toggle_sidebar plugin, remove obsolete toggle button
add PluginHost::HOOK_MAIN_TOOLBAR_BUTTON
This commit is contained in:
11
index.php
11
index.php
@@ -171,17 +171,18 @@
|
||||
<div id="toolbar" dojoType="dijit.layout.ContentPane" region="top">
|
||||
<div id="main-toolbar" dojoType="dijit.Toolbar">
|
||||
|
||||
<?php
|
||||
foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_MAIN_TOOLBAR_BUTTON) as $p) {
|
||||
echo $p->hook_main_toolbar_button();
|
||||
}
|
||||
?>
|
||||
|
||||
<form id="headlines-toolbar" action="" onsubmit='return false'>
|
||||
|
||||
</form>
|
||||
|
||||
<form id="main_toolbar_form" action="" onsubmit='return false'>
|
||||
|
||||
<button dojoType="dijit.form.Button" id="collapse_feeds_btn"
|
||||
onclick="collapse_feedlist()"
|
||||
title="<?php echo __('Collapse feedlist') ?>" style="display : none">
|
||||
<<</button>
|
||||
|
||||
<select name="view_mode" title="<?php echo __('Show articles') ?>"
|
||||
onchange="viewModeChanged()"
|
||||
dojoType="dijit.form.Select">
|
||||
|
||||
Reference in New Issue
Block a user