]>
git.wh0rd.org - tt-rss.git/blob - plugins/toggle_sidebar/init.php
2 class Toggle_Sidebar
extends Plugin
{
8 "Adds a main toolbar button to toggle sidebar",
12 function init($host) {
15 $host->add_hook($host::HOOK_MAIN_TOOLBAR_BUTTON
, $this);
18 function hook_main_toolbar_button() {
21 <button dojoType
="dijit.form.Button" onclick
="collapse_feedlist()">
22 <img src
="plugins/toggle_sidebar/application_side_list.png"
23 title
="<?php echo __('Collapse feedlist') ?>">
29 function api_version() {