summaryrefslogtreecommitdiff
path: root/includes/member.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/member.inc')
-rw-r--r--includes/member.inc25
1 files changed, 11 insertions, 14 deletions
diff --git a/includes/member.inc b/includes/member.inc
index 02f7769..8734471 100644
--- a/includes/member.inc
+++ b/includes/member.inc
@@ -1,7 +1,7 @@
-<?php global $system; global $systemCommonName; global $systemID; global $member; global $memberData; global $memberCommonName; global $memberID;
+<?php global $system; global $systemCommonName; global $systemID; global $member; global $memberData; global $memberCommonName; global $memberID; global $lang; global $pages;
if ($memberData["name"] === "fusion") {
- $title = ($memberCommonName === "fusion" ? "Multiple merged members" : $memberCommonName);
+ $title = ($memberCommonName === "fusion" ? $lang["member"]["merge"] : $memberCommonName);
} else {
$title = $memberCommonName . " ยท " . $systemCommonName;
}
@@ -57,28 +57,28 @@ if ($memberData["name"] === "fusion") {
<div id="page-content">
<?php if ($memberData["name"] === "unknown"): ?>
<div class="alert alert-secondary">
- <p>Hello there!</p>
- <p>I'm currently not totally sure who I am (it's a thing that can happen with plurality), but I am using <?= $systemID === "ynmuc" ? "Twilight Sparkle" : "Scootaloo" ?> as a temporary identity to stay calm and not panic while I figure out what is going on and who I am.</p>
- <p>I can either be an existing headmate who cannot work out they are fronting (this can sometimes happen when one of us gets pushed out of front), multiple headmates blurring who cannot work out who we are, or a new pony trying to figure out their identity (this can sometimes take a while).</p>
- <span>In all cases, feel free to ask!</span>
+ <p><?= $lang["member"]["unknown"][0] ?></p>
+ <p><?= $lang["member"]["unknown"][1] ?></p>
+ <p><?= $lang["member"]["unknown"][2] ?></p>
+ <span><?= $lang["member"]["unknown"][3] ?></span>
</div>
<?php elseif ($memberData["name"] === "fusion"): ?>
<div class="alert alert-secondary">
- <p>Hello there!</p>
- <p>I'm the result of more than one pony temporarily merging together to the point they are unable to be told apart (this can be done for various reasons). We have not registered this switch for the "Unknown" member since this merge is made on purpose.</p>
- <p>Below is the list of who is merged, we can be either from a single system or from different systems.</p>
+ <p><?= $lang["member"]["fusion"][0] ?></p>
+ <p><?= $lang["member"]["fusion"][1] ?></p>
+ <p><?= $lang["member"]["fusion"][2] ?></p>
<div class="list-group">
<?php $foundFusion = false; $fusionOn = false; foreach ($fusionRaindrops ? $frontersRaindrops['members'] : $frontersCloudburst['members'] as $fronter): if ($fronter["name"] !== "fusion"): if ($fusionOn): $foundFusion = true; $name = str_ends_with($fronter['name'], "-travelling") ? substr($fronter['name'], 0, strlen($fronter['name']) - 11) : $fronter['name'] ?>
<a class="list-group-item list-group-item-action text-black" href="/<?= $name ?>"><img src="<?= getAsset($system, $fronter["id"], "heads") ?>" style="filter:invert(1) hue-rotate(180deg);width:24px;"> <?= $fronter["display_name"] ?? $name ?></a>
<?php endif; else: $fusionOn = true; endif; endforeach; ?>
</div>
<?php if (!$foundFusion): ?>
- <i>No members are currently merged.</i>
+ <i><?= $lang["member"]["no_fusion"] ?></i>
<?php endif; ?>
</div>
<?php else: ?>
<?php global $isLoggedIn; if ($isLoggedIn): ?>
- <small style="opacity:.5;display:block;">(edit: <a href="/-/edit/<?= $system ?>/<?= $memberData['name'] ?>">public</a>, <a href="/-/edit-private/<?= $system ?>/<?= $memberData['name'] ?>">private</a>)</small>
+ <small style="opacity:.5;display:block;">(edit: <a href="/-/metadata/<?= $system ?>/<?= $memberData['name'] ?>">metadata</a>, <a href="/-/edit/<?= $system ?>/<?= $memberData['name'] ?>">public</a>, <a href="/-/edit-private/<?= $system ?>/<?= $memberData['name'] ?>">private</a>)</small>
<?php endif; ?>
<?php if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/data/content/$memberID-private.html") && $isLoggedIn): ?>
@@ -88,9 +88,6 @@ if ($memberData["name"] === "fusion") {
<?php if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/data/content/$memberID.html")): ?>
<?= file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/content/$memberID.html") ?>
- <?php else: ?>
- <p class="text-muted">This page is automatically generated and may not be 100% accurate.</p>
- <?php require $_SERVER['DOCUMENT_ROOT'] . "/includes/ai.inc"; ?>
<?php endif; ?>
<?php endif; ?>
</div>