summaryrefslogtreecommitdiff
path: root/pages/pair.inc
diff options
context:
space:
mode:
authorRaindropsSys <raindrops@equestria.dev>2023-11-18 11:34:36 +0100
committerRaindropsSys <raindrops@equestria.dev>2023-11-18 11:34:36 +0100
commit9337aae8b1c87fad34884dacd5cd79d9591c60db (patch)
tree5340f9fa67cd6236e4c879f0057d51d0b1e21361 /pages/pair.inc
parent953ddd82e48dd206cef5ac94456549aed13b3ad5 (diff)
downloadpluralconnect-9337aae8b1c87fad34884dacd5cd79d9591c60db.tar.gz
pluralconnect-9337aae8b1c87fad34884dacd5cd79d9591c60db.tar.bz2
pluralconnect-9337aae8b1c87fad34884dacd5cd79d9591c60db.zip
Updated 39 files, added 86 files, deleted 40 files and renamed 2 files (automated)
Diffstat (limited to 'pages/pair.inc')
-rw-r--r--pages/pair.inc12
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 () => {