Skip to content

Commit

Permalink
Fixed issue: Plugin Settings - Save and Save & Close buttons have wro…
Browse files Browse the repository at this point in the history
…ng styling (#2062)
  • Loading branch information
Jessica Höck committed Sep 30, 2021
1 parent d315440 commit 458837f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions application/controllers/admin/PluginManagerController.php
Expand Up @@ -278,6 +278,7 @@ public function deactivate()

/**
* Configure for plugin
* @param int $id
*/
public function configure($id)
{
Expand Down Expand Up @@ -337,19 +338,19 @@ public function configure($id)
$url = App()->createUrl("admin/pluginmanager/sa/index");
$aButtons = array(
'save' => array(
'label' => '<span class="fa fa-floppy-o" aria-hidden="true"</span> ' . gT('Save'),
'class' => array('btn-success'),
'label' => '<span class="fa fa-check"></span> ' . gT('Save'),
'class' => array('btn btn-success'),
'type' => 'submit'
),
'redirect' => array(
'label' => '<span class="fa fa-floppy-o" aria-hidden="true"</span> ' . gT('Save and close'),
'class' => array('btn-default'),
'label' => '<span class="fa fa-check-square"></span> ' . gT('Save and close'),
'class' => array('btn btn-default'),
'type' => 'submit',
'value' => $url,
),
'cancel' => array(
'label' => gT('Close'),
'class' => array('btn-danger'),
'label' => '<span class="fa fa-close"></span> ' . gT('Close'),
'class' => array('btn btn-danger'),
'type' => 'link',
'href' => $url,
),
Expand Down

0 comments on commit 458837f

Please sign in to comment.