diff options
Diffstat (limited to 'pages/travelling.inc')
-rw-r--r-- | pages/travelling.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pages/travelling.inc b/pages/travelling.inc index 7eb3dfa..c7eaadf 100644 --- a/pages/travelling.inc +++ b/pages/travelling.inc @@ -106,6 +106,8 @@ if (isset($_GET['toggleTravel']) && $isLoggedIn) { die(); } +global $use2023UI; + require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/components/header.inc'; global $travelling; @@ -163,7 +165,7 @@ global $travelling; <div> <?php if ($travelling[$member['id']]["travelling"]): ?> <div class="dropdown"> - <button type="button" class="btn btn-outline-danger dropdown-toggle" data-bs-toggle="dropdown" <?= $isLowerLoggedIn ? "disabled" : "" ?>> + <button type="button" class="btn btn-outline-<?= $use2023UI ? "primary" : "danger" ?> dropdown-toggle" data-bs-toggle="dropdown" <?= $isLowerLoggedIn ? "disabled" : "" ?>> Stop travelling </button> <ul class="dropdown-menu"> @@ -172,7 +174,7 @@ global $travelling; </div> <?php else: ?> <div class="dropdown"> - <button type="button" class="btn btn-outline-success dropdown-toggle" data-bs-toggle="dropdown" <?= $isLowerLoggedIn ? "disabled" : "" ?>> + <button type="button" class="btn btn-outline-<?= $use2023UI ? "primary" : "success" ?> dropdown-toggle" data-bs-toggle="dropdown" <?= $isLowerLoggedIn ? "disabled" : "" ?>> Start travelling </button> <ul class="dropdown-menu"> |