diff options
author | RaindropsSys <contact@minteck.org> | 2023-07-20 18:29:09 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-07-20 18:29:09 +0200 |
commit | 46251292b5c8b431de66aeff473594ccec60e04c (patch) | |
tree | c9f2c196e50f064a66625813660148379212d9d7 /pages/travelling.inc | |
parent | 93c96fd1d89782570de9478c26f17b406e9dd7a0 (diff) | |
download | pluralconnect-46251292b5c8b431de66aeff473594ccec60e04c.tar.gz pluralconnect-46251292b5c8b431de66aeff473594ccec60e04c.tar.bz2 pluralconnect-46251292b5c8b431de66aeff473594ccec60e04c.zip |
Updated 19 files and added 26 files (automated)
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"> |