|
@@ -110,7 +110,7 @@ function generate_comment_field($comments, $type, $id) {
|
|
$output = '<h2>' . $headertexts[$type] . '</h2>';
|
|
$output = '<h2>' . $headertexts[$type] . '</h2>';
|
|
}
|
|
}
|
|
foreach ($comments as $comment) {
|
|
foreach ($comments as $comment) {
|
|
- $output .= '<div class="comment-block"><div class="comment-author">Autor: ' . htmlspecialchars($comment['author']) . ', data: ' . date('j.m.Y G:i:s', $comment['date']) . '</div><div class="comment-text">' . htmlspecialchars($comment['content']) . '</div></div>';
|
|
|
|
|
|
+ $output .= '<div class="comment-block"><div class="comment-header">Autor: <span class="comment-author">' . htmlspecialchars($comment['author']) . '</span>, data: <span class="comment-date">' . date('j.m.Y G:i:s', $comment['date']) . '</span></div><div class="comment-text">' . htmlspecialchars($comment['content']) . '</div></div>';
|
|
}
|
|
}
|
|
|
|
|
|
$output .= '<h2>Dodaj nowy komentarz</h2><form id="comment-form" method="post" action="sendcomment.php"><table id="comment-form-table"><tr><td class="form-caption">Autor:</td><td><input type="text" name="comment-nick" id="comment-nick"></td></tr>';
|
|
$output .= '<h2>Dodaj nowy komentarz</h2><form id="comment-form" method="post" action="sendcomment.php"><table id="comment-form-table"><tr><td class="form-caption">Autor:</td><td><input type="text" name="comment-nick" id="comment-nick"></td></tr>';
|