From d340c7f465067452c13dd12e9f56075d56b873ba Mon Sep 17 00:00:00 2001 From: camer0n Date: Fri, 14 Feb 2025 11:22:44 -0800 Subject: [PATCH] Issue #5432 - button styling. --- e107_admin/cpage.php | 2 +- e107_admin/search.php | 4 ++-- e107_admin/users_extended.php | 2 ++ e107_handlers/form_handler.php | 6 +++--- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/e107_admin/cpage.php b/e107_admin/cpage.php index eaa5a2635..4e882211e 100644 --- a/e107_admin/cpage.php +++ b/e107_admin/cpage.php @@ -143,7 +143,7 @@ class page_admin_form_ui extends e_admin_form_ui $query['id'] = $id; $query = http_build_query($query, '', '&'); - $text = " + $text = " ".defset('ADMIN_EDIT_ICON').""; if($this->getController()->getMode() === 'overview' && getperms('J1')) // Page/Menu Delete Perms. diff --git a/e107_admin/search.php b/e107_admin/search.php index 4cd25c285..423ed0c69 100644 --- a/e107_admin/search.php +++ b/e107_admin/search.php @@ -404,7 +404,7 @@ else - ".ADMIN_EDIT_ICON." + ".ADMIN_EDIT_ICON." "; @@ -458,7 +458,7 @@ else - ".ADMIN_EDIT_ICON." + ".ADMIN_EDIT_ICON." "; diff --git a/e107_admin/users_extended.php b/e107_admin/users_extended.php index 65ac57851..a7e415408 100755 --- a/e107_admin/users_extended.php +++ b/e107_admin/users_extended.php @@ -16,6 +16,8 @@ if (!getperms('4')) exit; } +e107::css('inline', '#admin-users-extended-main-list td.options .btn-group { justify-content: left } '); + e107::coreLan('users_extended', true); if(varset($_GET['mode']) == "ajax") diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php index f7a178d81..353dc3cb4 100644 --- a/e107_handlers/form_handler.php +++ b/e107_handlers/form_handler.php @@ -3817,12 +3817,12 @@ var_dump($select_options);*/ { case 'edit': $icon = deftrue('e_ADMIN_AREA') ? defset('ADMIN_EDIT_ICON') : $tp->toIcon('e-edit-32'); - $options['class'] = $options['class'] === 'action' ? 'btn btn-default btn-secondary action edit' : $options['class']; + $options['class'] = $options['class'] === 'action' ? 'btn btn-success action edit' : $options['class']; break; case 'delete': $icon = deftrue('e_ADMIN_AREA') ? defset('ADMIN_DELETE_ICON') : $tp->toIcon('fa-trash.glyph'); - $options['class'] = $options['class'] === 'action' ? 'btn btn-default btn-secondary action delete' : $options['class']; + $options['class'] = $options['class'] === 'action' ? 'btn btn-danger action delete' : $options['class']; $options['data-confirm'] = LAN_JSCONFIRM; break; @@ -5301,7 +5301,7 @@ var_dump($select_options);*/ $att = [ 'href' => e_SELF . "?$query", - 'class' => "btn btn-default btn-primary$eModal", + 'class' => "btn btn-default btn-success$eModal", 'data-modal-caption' => $eModalCap, 'title' => LAN_EDIT, // 'data-toggle' => 'tooltip',