Fix Mail settings tabs regression and user menu coloring

This commit is contained in:
johnnyq
2026-08-15 12:29:39 -04:00
parent 8c0e5246b4
commit c44fa30792
4 changed files with 28 additions and 22 deletions

View File

@@ -21,7 +21,7 @@ if ($total_found_rows > 5) {
<div class="col-sm">
<form action="post.php" method="post">
<div class="mb-3">
<select onchange="this.form.submit()" class="form-select select2 col-12 col-sm-3" name="change_records_per_page">
<select onchange="this.form.submit()" class="form-select col-12 col-sm-3" name="change_records_per_page">
<option <?php if ($user_config_records_per_page == 5) { echo "selected"; } ?> >5</option>
<option <?php if ($user_config_records_per_page == 10) { echo "selected"; } ?> >10</option>
<option <?php if ($user_config_records_per_page == 20) { echo "selected"; } ?> >20</option>

View File

@@ -80,8 +80,7 @@
<img src="<?= "/uploads/users/$session_user_id/$session_avatar" ?>"
class="user-image rounded-circle">
<?php } ?>
<span
class="d-none d-md-inline dropdown-toggle"><?= stripslashes(escapeHtml($session_name)) ?></span>
<span class="d-none d-md-inline dropdown-toggle"><?= stripslashes(escapeHtml($session_name)) ?></span>
</a>
<ul class="dropdown-menu dropdown-menu-lg dropdown-menu-end">
<!-- User image -->
@@ -98,7 +97,7 @@
</p>
</li>
<!-- Menu Footer-->
<li class="user-footer">
<li class="user-footer bg-light">
<?php if ($session_is_admin) { ?>
<a href="/admin" class="btn btn-default w-100 btn-flat mb-2"><i class="fas fa-user-shield me-2"></i>Administration</a>
<?php } ?>