diff options
author | Andrew Dolgov <[email protected]> | 2017-01-07 15:29:17 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-01-07 15:29:17 +0300 |
commit | 6293d3717c32ca338c8e9d69b9eb70ed423b6ee5 (patch) | |
tree | 3fe5c794c86a215a503a1bb46044bea1970adcfa /index.php | |
parent | 4822485a745b783563fa3572992c581f0b2d8631 (diff) |
add toggle_sidebar plugin, remove obsolete toggle button
add PluginHost::HOOK_MAIN_TOOLBAR_BUTTON
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -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"> |