Skip to content

Commit

Permalink
Fixed issue #T1329: Action buttons on plugin detail view: settings (#…
Browse files Browse the repository at this point in the history
…2098)

* Fixed issue #T1329: Action buttons on plugin detail view: settings

* Dev: Added and updated TypeHints

* Revert "Dev: Added and updated TypeHints"

This reverts commit 498dbd9.
  • Loading branch information
thedirtypanda committed Oct 20, 2021
1 parent dc0bd77 commit 5974557
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions application/controllers/admin/PluginManagerController.php
Expand Up @@ -344,22 +344,22 @@ public function configure($id)
if (Permission::model()->hasGlobalPermission('settings', 'update')) {
$url = App()->createUrl("admin/pluginmanager/sa/index");
$aButtons = array(
'save' => array(
'label' => '<span class="fa fa-check"></span> ' . gT('Save'),
'class' => array('btn btn-success'),
'type' => 'submit'
'cancel' => array(
'label' => '<span class="fa fa-close"></span> ' . gT('Close'),
'class' => array('btn btn-danger'),
'type' => 'link',
'href' => $url,
),
'redirect' => array(
'label' => '<span class="fa fa-check-square"></span> ' . gT('Save and close'),
'class' => array('btn btn-default'),
'type' => 'submit',
'value' => $url,
),
'cancel' => array(
'label' => '<span class="fa fa-close"></span> ' . gT('Close'),
'class' => array('btn btn-danger'),
'type' => 'link',
'href' => $url,
'save' => array(
'label' => '<span class="fa fa-check"></span> ' . gT('Save'),
'class' => array('btn btn-success'),
'type' => 'submit'
),
);
}
Expand Down

0 comments on commit 5974557

Please sign in to comment.