Draft for pages and subpages

This commit is contained in:
danpros 2024-01-01 11:37:47 +07:00
commit 0ec68537c5
10 changed files with 387 additions and 112 deletions

View file

@ -21,8 +21,9 @@ if (isset($destination)) {
} else {
$back = site_url();
}
$info = $p->title . ' (' . $p->file . ')';
?>
<p><?php echo sprintf(i18n('Are_you_sure_you_want_to_delete_'), $p->title);?></p>
<p><?php echo sprintf(i18n('Are_you_sure_you_want_to_delete_'), $info);?></p>
<form method="POST">
<input type="hidden" name="file" value="<?php echo $p->file ?>"/><br>
<input type="hidden" name="csrf_token" value="<?php echo get_csrf() ?>">