„navbar.template“ ändern

master
Erik 2020-03-04 10:48:41 +01:00
parent 0ababf4ec4
commit 423cfd171d
1 changed files with 13 additions and 11 deletions

View File

@ -51,17 +51,7 @@
} }
?> ?>
</li> </li>
<li class="right">
<?php
if ($login) {
if ($navbar == "profile") {
echo "<a class=\"active\" href=\"%CONTENT_DIR%/profile/\">Profile</a>";
} else {
echo "<a href=\"%CONTENT_DIR%/profile/\">Profile</a>";
}
}
?>
</li>
<li class="right"> <li class="right">
<?php <?php
if ($login) { if ($login) {
@ -75,6 +65,18 @@
} }
?> ?>
</li> </li>
<li class="right">
<?php
if ($login) {
if ($navbar == "profile") {
echo "<a class=\"active\" href=\"%CONTENT_DIR%/profile/\">Profile</a>";
} else {
echo "<a href=\"%CONTENT_DIR%/profile/\">Profile</a>";
}
}
?>
</li>
</ul> </ul>
<br /> <br />