added reply button

master
BodgeMaster 2021-09-07 08:39:26 +02:00
parent 36fda61331
commit 0ba0f06b2c
2 changed files with 27 additions and 13 deletions

View File

@ -29,8 +29,13 @@ foreach($statement->fetchAll() as $ROW) {
}
echo "<section id=\"$post_id\" >
<div>
<a href=\"%DOMAIN_NAME%%CONTENT_DIR%/board/?id=" . $_GET['id'] . "&action=post&reply_to=$post_id&end\" class=\"post_reply\">
<button class=\"post_reply\">Reply</button>
</a>
<h1 class=\"post\">$post_title</h1>
$reply_reference
</div>
<article>
<header>
<div>

View File

@ -392,6 +392,15 @@ header {
h1.post{
margin: 0;
}
p.post_reply {
margin: 0.1em;
}
a.post_reply {
float: right;
}
button.post_reply {
width: auto;
margin: 0.1em;
}