Hendrik search #181
@@ -8,7 +8,7 @@ require("../../queries/checkInput.php");
|
|||||||
if (empty($_POST['newcomment-content'])) {
|
if (empty($_POST['newcomment-content'])) {
|
||||||
echo 0;
|
echo 0;
|
||||||
} else {
|
} else {
|
||||||
if(makeComment($_POST['postID'],
|
if(makeComment(test_input($_POST['postID']),
|
||||||
$_SESSION['userID'],
|
$_SESSION['userID'],
|
||||||
test_input($_POST['newcomment-content']))) {
|
test_input($_POST['newcomment-content']))) {
|
||||||
echo 1;
|
echo 1;
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
/* Modal Content/Box */
|
/* Modal Content/Box */
|
||||||
.modal-content {
|
.modal-content {
|
||||||
margin: 5% auto;
|
margin: 50px auto;
|
||||||
width: 70%; /* Could be more or less, depending on screen size */
|
width: 70%; /* Could be more or less, depending on screen size */
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user