Skip to content
Snippets Groups Projects
Commit 73e2d2b0 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fixes #88

parent d5b61b32
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
......@@ -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);
......@@ -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);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment