フォーク元 tak4/bibis
18 行
444 B
PHP
18 行
444 B
PHP
<?php
|
|
// Confirm (delete post)
|
|
|
|
require __DIR__ . '/post-common.php';
|
|
?>
|
|
<h2>削除・Delete</h2>
|
|
<p>書き込みを削除しますか?
|
|
<?php
|
|
view_post($view['post'] ?? '', ['has_bottom_items' => false]);
|
|
?>
|
|
<form action="<?= htmlspecialchars($view['post']['delete_url']) ?>" method="POST">
|
|
<ul>
|
|
<li>
|
|
<input type="hidden" name="id" value="<?= htmlspecialchars($view['post']['id']) ?>">
|
|
<button type="submit">削除する</button>
|
|
</ul>
|
|
</from>
|