diff options
Diffstat (limited to 'pages/pair.inc')
-rw-r--r-- | pages/pair.inc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pages/pair.inc b/pages/pair.inc index 8b0bb09..42e70ef 100644 --- a/pages/pair.inc +++ b/pages/pair.inc @@ -11,7 +11,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/components/header.inc'; glob <div class="alert alert-success alert-dismissible" id="pair-confirm" style="display: none;"> <button type="button" class="btn-close" onclick="document.getElementById('pair-confirm').style.display='none';"></button> - Successfully paired "<span id="paired-name-1">-</span>" with your Cold Haze account. You may now close this page. + Successfully paired "<span id="paired-name-1">-</span>" with your Ponycule account. You may now close this page. </div> <div class="alert alert-danger alert-dismissible" id="pair-cancel" style="display: none;"> @@ -19,7 +19,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/components/header.inc'; glob Cancelled pairing "<span id="paired-name-2">-</span>", this device does not have access to your account. You may now close this page. </div> - <p>Pairing allows a connected device that cannot normally use Cold Haze to gather data. This device will get full access to your account as if they were acting on your behalf, so make sure you trust the device and/or application you are using.</p> + <p>Pairing allows a connected device that cannot normally use Ponycule to gather data. This device will get full access to your account as if they were acting on your behalf, so make sure you trust the device and/or application you are using.</p> <?php $data = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/tokens/" . str_replace("/", "", $_COOKIE['PEH2_SESSION_TOKEN'])), true); if (isset($data["profile"])): ?> <p>Equestria.dev may not have verified the application you use, always check for a signature. Enter the pairing code displayed on your device below:</p> @@ -42,10 +42,10 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/components/header.inc'; glob </div> <div class="modal-body"> - <p>You are about to pair the following device with your Cold Haze account:</p> + <p>You are about to pair the following device with your Ponycule account:</p> <blockquote style="display: grid; grid-template-columns: max-content 1fr; grid-gap: 10px;"> <div style="display: flex; align-items: center; justify-content: center;"> - <img src="/assets/logo/newlogo3.png" id="device-icon" style="width: 32px; height: 32px;"> + <img src="/assets/logo/newlogo-ng.png" id="device-icon" style="width: 32px; height: 32px;"> </div> <div> <b>Name:</b> <span id="device-name">-</span><br> @@ -95,11 +95,11 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/components/header.inc'; glob return "https://git.equestria.dev/equestria.dev/luna/raw/branch/mane/icons/logo.png"; } - if (name.startsWith("Cold Haze for Wear OS ")) { + if (name.startsWith("Cold Haze for Wear OS ") || name.startsWith("Ponycule for Wear OS ")) { return "https://static.equestria.horse/ch-wear.png"; } - return "/assets/logo/newlogo3.png"; + return "/assets/logo/newlogo-ng.png"; } (async () => { |