summaryrefslogtreecommitdiff
path: root/includes/metadata.inc
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2023-02-22 20:45:15 +0100
committerMinteck <contact@minteck.org>2023-02-22 20:45:15 +0100
commit737f5008f8a4a011c832e83f6b2019d3dc27dbd0 (patch)
tree1039c5acc74159587f48fe1c513b796b9c6abbfb /includes/metadata.inc
parent1ff917767cca089a87f4e06a676c48ed132c2a73 (diff)
downloadpluralconnect-737f5008f8a4a011c832e83f6b2019d3dc27dbd0.tar.gz
pluralconnect-737f5008f8a4a011c832e83f6b2019d3dc27dbd0.tar.bz2
pluralconnect-737f5008f8a4a011c832e83f6b2019d3dc27dbd0.zip
Updated 8 files (automated)
Diffstat (limited to 'includes/metadata.inc')
-rw-r--r--includes/metadata.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/metadata.inc b/includes/metadata.inc
index d7875c5..2e009cd 100644
--- a/includes/metadata.inc
+++ b/includes/metadata.inc
@@ -144,12 +144,12 @@ if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/data/metadata/" . $member
foreach ($flags as $id => $name): if (!is_array($name) && !is_null($name)): ?>
<label style="margin-bottom:5px;">
<input <?= $metadata[$id] ? "checked" : "" ?> class="form-check-input" type="checkbox" name="flags[<?= $id ?>]">
- <?= $name ?>
+ <?= str_starts_with($name, "!!") ? substr($name, 2) : $name ?>
</label><br>
<?php else: foreach ($name as $id2 => $name2): ?>
<label style="margin-bottom:5px;">
<input <?= $metadata[$id][$id2] ? "checked" : "" ?> class="form-check-input" type="checkbox" name="flags[<?= $id ?>][<?= $id2 ?>]">
- <?= $name2 ?>
+ <?= str_starts_with($name2, "!!") ? substr($name2, 2) : $name2 ?>
</label><br>
<?php endforeach; endif; endforeach; ?>