summaryrefslogtreecommitdiff
path: root/includes/subsysbanner.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/subsysbanner.inc')
-rw-r--r--includes/subsysbanner.inc11
1 files changed, 6 insertions, 5 deletions
diff --git a/includes/subsysbanner.inc b/includes/subsysbanner.inc
index 176380f..2f85dc3 100644
--- a/includes/subsysbanner.inc
+++ b/includes/subsysbanner.inc
@@ -9,6 +9,7 @@ global $system;
global $subsystemData;
global $subsystemID;
global $subsystem;
+global $lang; global $pages;
$fronters = array_map(function ($item) {
return $item["id"];
@@ -23,7 +24,7 @@ $fronters = array_map(function ($item) {
<h3 style="height:max-content;"><?= $subsystemData["name"] ?></h3>
<div style="height:max-content;display:grid;grid-template-columns: repeat(4, 1fr);" id="member-card">
<span>
- <b>Fronter:</b>
+ <b><?= $lang["subsystem"]["fronter"] ?></b>
<?php if (in_array($fronters[0], $subsystem["members"])): $member = getMember($fronters[0]); ?>
<a class="member-link" href="/<?= $member["name"] ?>"><img src="<?= getAsset($member['system'], $member["id"], "heads") ?>" style="width:24px;"> <?= getMiniName($member["display_name"] ?? $member["name"]) ?></a>
<?php else: ?>
@@ -49,14 +50,14 @@ $fronters = array_map(function ($item) {
}
?>
- <b>Last fronter: </b><a class="member-link" href="/<?= $member["name"] ?>"><img src="<?= getAsset($systemID
+ <b><?= $lang["subsystem"]["last"] ?> </b><a class="member-link" href="/<?= $member["name"] ?>"><img src="<?= getAsset($systemID
, $member["id"], "heads") ?>" style="width:24px;"> <?= getMiniName($member["display_name"] ?? $member["name"]) ?></a>
</span>
<span>
- <b>Members:</b> <?= count($subsystem["members"]) ?>
+ <b><?= $lang["subsystem"]["members"] ?></b> <?= count($subsystem["members"]) ?>
</span>
<span>
- <b>Parent system:</b> <a class="member-link" href="/<?= $system ?>"><img style="width:24px;border-radius:5px;" src="/assets/uploads/<?= $system ?>.png"> <?= getMiniName($systemCommonName) ?></a>
+ <b><?= $lang["subsystem"]["parent"] ?></b> <a class="member-link" href="/<?= $system ?>"><img style="width:24px;border-radius:5px;" src="/assets/uploads/<?= $system ?>.png"> <?= getMiniName($systemCommonName) ?></a>
</span>
</div>
</div>
@@ -65,6 +66,6 @@ $fronters = array_map(function ($item) {
<div id="system-actions" style="margin-top:10px;padding:5px 10px;background:rgba(255, 255, 255, .1);border-radius:10px;">
<div style="padding: 5px 10px;text-align: center;">
- You are viewing the page of a subsystem of the <b><a style="color:white;text-decoration: none;" href="/<?= $system ?>"><?= $systemCommonName ?></a></b>.
+ <?= $lang["subsystem"]["intro"] ?> <b><a style="color:white;text-decoration: none;" href="/<?= $system ?>"><?= $systemCommonName ?></a></b>.
</div>
</div> \ No newline at end of file