MAPG-117 remove admin/maps and place a button to the maps page if admin is logged in

This commit is contained in:
bence committed 2020-06-10 00:30:29 +02:00
1 parent 4af6f07ce1
commit 5a450c46db
8 files changed
+22 -18

No files matched your search

+1
View File
@@ -31,6 +31,7 @@
<p class="small justify marginTop"><?= $map['description'] ?></p>
</div>
<a class="button fullWidth" href="game/<?= $map['id']; ?>" title="Play map '<?= $map['name'] ?>'">Play this map</a>
<a class="button yellow fullWidth marginTop" href="admin/mapEditor/<?= $map['id']; ?>" title="Edit map '<?= $map['name'] ?>'">Edit this map</a>
</div>
<?php endforeach; ?>
<?php if (count($maps) < 4): ?>