summaryrefslogtreecommitdiff
path: root/pages/toys.inc
diff options
context:
space:
mode:
Diffstat (limited to 'pages/toys.inc')
-rw-r--r--pages/toys.inc25
1 files changed, 0 insertions, 25 deletions
diff --git a/pages/toys.inc b/pages/toys.inc
index 870bb62..df34af0 100644
--- a/pages/toys.inc
+++ b/pages/toys.inc
@@ -366,31 +366,6 @@ $parts = explode("/", $pagename);
<div class="card-body">
<h4 class="card-title"><?= $item["name"] ?></h4>
<p class="card-text">
- <!--
- <?php
-
- $uniquePonies = [];
-
- foreach ($item["ponies"] as $ponies) {
- foreach ($ponies["members"] as $member) {
- if (isset($uniquePonies[$member]) && !$uniquePonies[$member]) {
- $uniquePonies[$member] = false;
- } else {
- $uniquePonies[$member] = $ponies["deprecated"];
- }
- }
- }
-
- foreach ($uniquePonies as $name => $deprecated): if (!$deprecated): ?>
- <span data-bs-toggle="tooltip" title="<?= getMemberWithoutSystem($name)["display_name"] ?? getMemberWithoutSystem($name)["display_name"] ?>" style="display: inline-block;">
- <img src="/assets/uploads/pt-<?= getMemberWithoutSystem($name)["name"] ?>.png" style="width:32px;">
- </span>
- <?php endif; endforeach; ?>
- <?php foreach ($uniquePonies as $name => $deprecated): if ($deprecated): ?>
- <span data-bs-toggle="tooltip" data-bs-html="true" title="<i><?= strip_tags(getMemberWithoutSystem($name)["display_name"] ?? getMemberWithoutSystem($name)["name"]) ?></i>" style="opacity:.5;display: inline-block;">
- <img src="/assets/uploads/pt-<?= getMemberWithoutSystem($name)["name"] ?>.png" style="width:32px;">
- </span>
- <?php endif; endforeach; ?>-->
<?= strlen(strip_tags($item["description"])) > 100 ? substr(strip_tags($item["description"]), 0, 100) . "…" : strip_tags($item["description"]) ?>
</p>
<?php if ($item["water"] === "in"): ?>