diff --git a/controllers/presenting.php b/controllers/presenting.php index 720b3736952e47e942c11328bfed9898806f33a1..f69dc69d3994cf7988da686da006fe31bcfd7255 100755 --- a/controllers/presenting.php +++ b/controllers/presenting.php @@ -161,9 +161,11 @@ class PresentingController extends MarketController } public function details_action($plugin_id) { - Navigation::addItem('/pluginmarket/presenting/details', new AutoNavigation(_('Details'), $this->url_for('presenting/details/'.$plugin_id))); $this->marketplugin = new MarketPlugin($plugin_id); + Navigation::addItem('/pluginmarket/presenting/details', new AutoNavigation(_('Details'), $this->url_for('presenting/details/'.$plugin_id))); + PageLayout::setTitle($this->marketplugin->name . ' - ' . $this->plugin->getDisplayTitle()); + if (Request::isPost() && Request::submitted("delete_plugin") && $this->marketplugin->isRootable()) { $this->marketplugin->delete(); PageLayout::postMessage(MessageBox::success(_("Plugin wurde gel�scht.")));