MAPG-235 allow only logged in users to start a challenge

This commit is contained in:
balazs committed 2021-05-19 17:11:49 +02:00
1 parent 517d758e8e
commit ae7fd98256
3 files changed
+14 -9

No files matched your search

+4 -2
View File
@@ -11,8 +11,10 @@ TODO: condition!
<a id="singleButton" class="button fullWidth marginTop" href="" title="Single player">Single player</a>
<p class="bold center marginTop marginBottom">OR</p>
<button id="multiButton" class="fullWidth green" data-map-id="">Multiplayer (beta)</button>
<p class="bold center marginTop marginBottom">OR</p>
<button id="challengeButton" class="fullWidth yellow" data-map-id="" data-timer="">Challenge (gamma)</button>
<?php if ($isLoggedIn): ?>
<p class="bold center marginTop marginBottom">OR</p>
<button id="challengeButton" class="fullWidth yellow" data-map-id="" data-timer="">Challenge (gamma)</button>
<?php endif; ?>
<div class="right">
<button id="closePlayModeButton" class="gray marginTop" type="button">Close</button>
</div>