Files
HotLunches/delete.form.php
T
2026-10-19 15:22:52 -07:00

30 lines
1.0 KiB
PHP

<?php
if (!isset($next_naction)) $next_naction = "delete-confirmed";
if ((isset($error_message) && strlen($error_message)) || (isset($form_message) && strlen($form_message))) {
include "form.messages.php";
echo("<br>\n");
}
?>
<form method='post' action='/'>
<table width='300' class='content-table'>
<tr>
<td align='center' class='heading'><?php displayLanguageText('TEXT-CONFIRM-DELETE'); ?></td>
</tr>
<tr>
<td align='center'>
<br>
<p>Delete: <b><?php echo($dTitle) ?></b></p>
<br>
<p><input type='submit' class='btn btn--primary' value="<?php displayLanguageText('TEXT-CONFIRM-DELETE'); ?>"></p>
</td>
</tr>
</table>
<input type='hidden' name='action' value='<?php echo($action) ?>'>
<input type='hidden' name='naction' value='<?php echo($next_naction) ?>'>
<?php if (isset($record_num)) { ?>
<input type='hidden' name='record_num' value='<?php echo($record_num) ?>'>
<?php } ?>
<?php if (isset($HiddenFields)) echo($HiddenFields) ?>
</form>