diff options
| author | eltrac <hi@eltr.ac> | 2026-11-09 11:25:53 +0800 |
|---|---|---|
| committer | eltrac <hi@eltr.ac> | 2026-11-09 11:25:53 +0800 |
| commit | 382e372a56f71029113a24b2355966160c5325ef (patch) | |
| tree | 8818cc87466ff58592188efff4fd8f9def619140 /saying.php | |
| parent | 5960c72cf74c8c740abdd220ec99c9310e705c4a (diff) | |
template/saying: fix #74
Diffstat (limited to 'saying.php')
| -rw-r--r-- | saying.php | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -42,9 +42,10 @@ echo $commentClass; </div> <?php } ?> <main class="main-container container"> - <div class="saying-body"> + <div class="saying-body" role="comment" id="<?php $this->respondId(); ?>"> <?php if($this->user->hasLogin()): ?> <form method="post" action="<?php $this->commentUrl() ?>" id="comment-form" class="saying-form" role="form"> + <input type="hidden" name="_" value="<?php echo $this->security->getToken($this->request->getRequestUrl()); ?>"> <p> <textarea rows="8" cols="50" name="text" id="textarea" placeholder="<?php gtecho('sayingPageTexts','sayingPlaceholder'); ?>" class="OwO-textarea comment-textarea textarea" required ><?php $this->remember('text'); ?></textarea> </p> @@ -66,4 +67,4 @@ echo $commentClass; </div> </div> </main> -<?php $this->need('includes/footer.php'); ?>
\ No newline at end of file +<?php $this->need('includes/footer.php'); ?> |
