added reply button
parent
36fda61331
commit
0ba0f06b2c
|
@ -29,19 +29,24 @@ foreach($statement->fetchAll() as $ROW) {
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "<section id=\"$post_id\" >
|
echo "<section id=\"$post_id\" >
|
||||||
<h1 class=\"post\">$post_title</h1>
|
<div>
|
||||||
$reply_reference
|
<a href=\"%DOMAIN_NAME%%CONTENT_DIR%/board/?id=" . $_GET['id'] . "&action=post&reply_to=$post_id&end\" class=\"post_reply\">
|
||||||
<article>
|
<button class=\"post_reply\">Reply</button>
|
||||||
<header>
|
</a>
|
||||||
<div>
|
<h1 class=\"post\">$post_title</h1>
|
||||||
<p class='beige'> $post_creator_name <time datetime='$post_time'>$post_time</time></p>
|
$reply_reference
|
||||||
</div>
|
</div>
|
||||||
</header>
|
<article>
|
||||||
<div class='postcontent'>
|
<header>
|
||||||
<p>$post_content</p>
|
<div>
|
||||||
</div>
|
<p class='beige'> $post_creator_name <time datetime='$post_time'>$post_time</time></p>
|
||||||
</article>
|
</div>
|
||||||
</section>";
|
</header>
|
||||||
|
<div class='postcontent'>
|
||||||
|
<p>$post_content</p>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
</section>";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
|
@ -392,6 +392,15 @@ header {
|
||||||
h1.post{
|
h1.post{
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
p.post_reply {
|
p.post_reply {
|
||||||
margin: 0.1em;
|
margin: 0.1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.post_reply {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
button.post_reply {
|
||||||
|
width: auto;
|
||||||
|
margin: 0.1em;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue