M5 A1 bis auf 9)
This commit is contained in:
12
M5/emensa/storage/cache/m5_a1.abmeldung_17f241c320c4a8a9a33bfe29835f14c33bd19626.bladec
vendored
Normal file
12
M5/emensa/storage/cache/m5_a1.abmeldung_17f241c320c4a8a9a33bfe29835f14c33bd19626.bladec
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php $_shouldextend[1]=1; ?>
|
||||
|
||||
<?php $this->startSection("main"); ?>
|
||||
|
||||
<?php if(!isset($_SESSION['name'])): ?>
|
||||
|
||||
<meta http-equiv="refresh" content="0;url=/" />
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php $this->stopSection(); ?>
|
||||
<?php if (isset($_shouldextend[1])) { echo $this->runChild("m5_a1.layout_anmeldung"); } ?>
|
||||
@@ -17,7 +17,18 @@
|
||||
<a href="#wichtig">Wichtig für uns</a>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
|
||||
<?php if(($_SESSION['login'] ?? NULL) == 0): ?>
|
||||
<a href="/anmeldung">Anmelden</a>
|
||||
<?php else: ?>
|
||||
Angemeldet als:<br>
|
||||
<div><?php echo \htmlentities($_SESSION['name']??'', ENT_QUOTES, 'UTF-8', false); ?></div>
|
||||
<a href="/abmeldung">Abmelden</a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php $this->stopSection(); ?>
|
||||
|
||||
<?php $this->startSection("text"); ?>
|
||||
|
||||
Reference in New Issue
Block a user