added login button if not logged in

master
Jakob 2020-03-08 18:24:48 +01:00
parent 73a6d138c2
commit 01e6aa5530
1 changed files with 2 additions and 0 deletions

View File

@ -65,6 +65,8 @@ $id=$_GET['id'];
} else { } else {
include("./default.php"); include("./default.php");
} }
} else
echo "<div class='margin'><a href='%CONTENT_DIR%/login/'><button> Log in to post something </button></a></div>";
} }
?> ?>
</div> </div>