diff --git a/PluginMarket.class.php b/PluginMarket.class.php index e31737dea57724059b750eb559cbe4bf9f97df2e..b81c86d8e3b9920cc618ddd837a950dedb953ada 100644 --- a/PluginMarket.class.php +++ b/PluginMarket.class.php @@ -8,7 +8,7 @@ class PluginMarket extends StudIPPlugin implements SystemPlugin, HomepagePlugin public function __construct() { parent::__construct(); - $top = new Navigation($this->getDisplayTitle(), PluginEngine::getURL($this, array(), "presenting/overview")); + $top = new Navigation($this->getDisplayTitle(), PluginEngine::getURL($this, array('view' => 'tiles'), "presenting/overview")); $top->setImage($this->getPluginURL()."/assets/topicon.svg"); $overview = new Navigation($this->getDisplayTitle(), PluginEngine::getURL($this, array(), "presenting/overview")); diff --git a/controllers/presenting.php b/controllers/presenting.php index f318c29f77cbaa360aeda971986676cfb33c54bb..4cf17d6063a10f688b56f6b22666d5f666dd06dc 100644 --- a/controllers/presenting.php +++ b/controllers/presenting.php @@ -59,7 +59,7 @@ class PresentingController extends MarketController if ($action != 'details') { $viewWidget = new ViewsWidget(); $viewWidget->addLink(_('Kacheln'), URLHelper::getLink('', array('view' => 'tiles')))->setActive($_SESSION['pluginmarket']['view'] == 'tiles'); - $viewWidget->addLink(_('Liste'), URLHelper::getLink('', array('view' => 'list')))->setActive($_SESSION['pluginmarket']['view'] == 'list'); + $viewWidget->addLink(_('Liste'), $this->url_for('presenting/all', array('view' => 'list')))->setActive($_SESSION['pluginmarket']['view'] == 'list'); $sidebar->addWidget($viewWidget); }