From 73e2d2b04cd00b80b316f8d6002ea3a46cf8d0a2 Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Willms <tleilax+github@gmail.com> Date: Fri, 11 Dec 2020 12:11:06 +0100 Subject: [PATCH] fixes #88 --- PluginMarket.class.php | 3 --- views/approving/overview.php | 8 -------- views/myplugins/overview.php | 2 -- 3 files changed, 13 deletions(-) diff --git a/PluginMarket.class.php b/PluginMarket.class.php index b1fd909..a2cb26d 100755 --- a/PluginMarket.class.php +++ b/PluginMarket.class.php @@ -61,9 +61,6 @@ class PluginMarket extends StudIPPlugin implements SystemPlugin, HomepagePlugin 'href' => PluginEngine::getLink($this, array(), 'rss/newest'), 'title' => _('Neueste Plugins'), )); - - $sidebar = Sidebar::Get(); - $sidebar->setImage('../../'.$this->getPluginPath().'/assets/sidebar-marketplace.png'); } public function getDisplayTitle() diff --git a/views/approving/overview.php b/views/approving/overview.php index 00e7baa..de230a0 100755 --- a/views/approving/overview.php +++ b/views/approving/overview.php @@ -40,11 +40,3 @@ <? endif; ?> </tbody> </table> - -<? -$sidebar = Sidebar::Get(); -$sidebar->setImage(Assets::image_path("sidebar/plugin-sidebar.png")); -$actions = new ActionsWidget(); -//$actions->addLink(_("Neues Plugin eintragen"), PluginEngine::getURL($plugin, array(), "myplugins/add"), null, array('data-dialog' => 1)); -//$sidebar->addWidget($actions); - diff --git a/views/myplugins/overview.php b/views/myplugins/overview.php index 7301109..595a35b 100755 --- a/views/myplugins/overview.php +++ b/views/myplugins/overview.php @@ -75,7 +75,6 @@ <? endif; ?> <? $sidebar = Sidebar::Get(); -$sidebar->setImage(Assets::image_path("sidebar/plugin-sidebar.png")); $actions = new ActionsWidget(); $actions->addLink(_("Neues Plugin eintragen"), $controller->url_for('myplugins/add'), @@ -90,4 +89,3 @@ $actions->addElement(new WidgetElement( </form>' )); $sidebar->addWidget($actions); - -- GitLab