Several updates

This commit is contained in:
WolverinDEV 2018-10-22 18:48:17 +02:00
parent 5b44b6d895
commit a24ee83716

View file

@ -32,7 +32,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<?php <?php
if($CLIENT) { if($CLIENT == true) {
echo "<title>TeaClient</title>"; echo "<title>TeaClient</title>";
} else { } else {
echo "<title>TeaSpeak-Web</title>"; echo "<title>TeaSpeak-Web</title>";
@ -142,21 +142,24 @@
<div id="music-test"></div> <div id="music-test"></div>
<div id="templates"></div> <div id="templates"></div>
</body> </body>
<?php if(!$CLIENT) { ?>
<footer> <?php
<div class="container" style="display: flex; flex-direction: row; align-content: space-between;"> if($CLIENT == false) {
<div style="align-self: center; position: fixed; left: 5px;">Open source on <a href="https://github.com/TeaSpeak/TeaSpeak-Web" style="display: inline-block; position: relative">github.com</a></div> $TAG = "<footer>
<div style="align-self: center;">TeaSpeak Web client by WolverinDEV</div> <div class=\"container\" style=\"display: flex; flex-direction: row; align-content: space-between;\">
<div style="align-self: center; position: fixed; right: 5px;"> <div style=\"align-self: center; position: fixed; left: 5px;\">Open source on <a href=\"https://github.com/TeaSpeak/TeaSpeak-Web\" style=\"display: inline-block; position: relative\">github.com</a></div>
<?php <div style=\"align-self: center;\">TeaSpeak Web client by WolverinDEV</div>
if(logged_in()) { <div style=\"align-self: center; position: fixed; right: 5px;\">";
echo '<a href="' . authPath() . '"auth.php?type=logout>logout</a>';
} else { if (logged_in()) {
echo '<a href="' . authPath() . '"login.php>Login</a> via the TeaSpeak forum.'; $TAG = $TAG . "<a href=\"" . "x" . "auth.php?type=logout\">logout</a>";
} } else {
?> $TAG = $TAG . "<a href=\"" . "y" . "login.php\">Login</a> via the TeaSpeak forum.";
}
echo $TAG . "</div>
</div> </div>
</div> </footer>";
</footer> }
<?php } ?> ?>
</html> </html>