Skip to content

Commit

Permalink
Dev: Show return button in plugin ovewview
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Mar 23, 2018
1 parent af5e717 commit 2417ed3
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions application/controllers/admin/PluginManagerController.php
Expand Up @@ -215,14 +215,19 @@ public function configure($id)
// Send to view plugin porperties: name and description
$aPluginProp = App()->getPluginManager()->getPluginInfo($arPlugin['name']);

$fullPageBar = [];
$fullPageBar['returnbutton']['url'] = 'admin/pluginmanager/sa/index';
$fullPageBar['returnbutton']['text'] = gT('Return to plugin list');

$this->_renderWrappedTemplate(
'pluginmanager',
'configure',
array(
'settings' => $aSettings,
'plugin' => $arPlugin,
'properties' => $aPluginProp
)
[
'settings' => $aSettings,
'plugin' => $arPlugin,
'properties' => $aPluginProp,
'fullpagebar' => $fullPageBar
]
);
}

Expand Down

0 comments on commit 2417ed3

Please sign in to comment.