summaryrefslogtreecommitdiff
path: root/includes/member.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/member.inc')
-rw-r--r--includes/member.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/includes/member.inc b/includes/member.inc
index 488ff7f..66d0798 100644
--- a/includes/member.inc
+++ b/includes/member.inc
@@ -1,4 +1,4 @@
-<?php global $system; global $systemCommonName; global $systemID; global $member; global $memberData; global $memberCommonName; global $memberID; global $lang; global $pages;
+<?php global $system; global $systemCommonName; global $systemID; global $member; global $memberData; global $memberCommonName; global $memberID; global $lang; global $pages; global $app;
if ($memberData["name"] === "fusion") {
$title = ($memberCommonName === "fusion" ? $lang["member"]["merge"] : $memberCommonName);
@@ -18,6 +18,7 @@ global $isLoggedIn;
$frontersRaindrops = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/gdapd/fronters.json"), true);
$frontersCloudburst = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/ynmuc/fronters.json"), true);
+$frontersOther = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/other/fronters.json"), true);
$fusionRaindrops = false;
@@ -100,7 +101,11 @@ if ($memberData["name"] === "fusion") {
<details>
<summary style="list-style: none;">
+ <?php if ($systemID === $app["other"]["id"]): ?>
+ <small style="opacity:.5;display:block;">(edit: <a href="/-/metadata/<?= $system ?>/<?= $memberData['name'] ?>">metadata</a>, <a href="/-/edit/<?= $system ?>/<?= $memberData['name'] ?>">page</a>)</small>
+ <?php else: ?>
<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; ?>
</summary>
<div class="alert alert-dark">
<ul style="margin-bottom:0;">