first commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
</div><!-- /.container -->
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<div class="container">
|
||||
<p>
|
||||
© <?= date('Y') ?> <a href="https://www.astronomiemuseum.de" target="_blank" rel="noopener">Astronomiemuseum der Sternwarte Sonneberg</a> — Thüringens Tor zum Universum
|
||||
<?php if (!empty($currentLocation)): ?>
|
||||
•
|
||||
<span class="footer-location-label">Standort:</span>
|
||||
<span class="footer-location-value"><?= htmlspecialchars($currentLocation['name'], ENT_QUOTES, 'UTF-8') ?></span>
|
||||
<span class="footer-location-coords"><?= number_format((float)$currentLocation['latitude'], 4) ?>° / <?= number_format((float)$currentLocation['longitude'], 4) ?>°</span>
|
||||
<?php if ($currentLocation['elevation'] !== null): ?>
|
||||
<span class="footer-location-elev"><?= number_format((float)$currentLocation['elevation'], 0) ?> m</span>
|
||||
<?php endif; ?>
|
||||
<?php if ($loggedIn && empty($locationIsGlobal)): ?>
|
||||
<a href="settings.php" class="footer-location-link">✎</a>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user