ACM/view/admin/suppression.php
2025-03-26 10:57:42 +01:00

35 lines
1.4 KiB
PHP

<?php
$csrfToken = function_exists('newToken') ? newToken() : $_SESSION['newtoken'];
/** @var $nom */ /** @var $langs */
?>
<form method="post" autocomplete="off">
<input type='hidden' name='controleur' value='admin'>
<input type='hidden' name='action' value='suppression'>
<input type='hidden' name='nom' value='<?=$nom?>'>
<input type='hidden' name='token' value='<?=$csrfToken?>'>
<fieldset>
<table class="centpercent">
<tr class="centpercent">
<th scope="row" colspan="2" >
<legend> <?=$langs->trans("ACMTexteDeSuppression")." ".$nom?></legend>
</th>
</tr>
<tr class="centpercent">
<th scope="row">
<input type="radio" id="true" name="ouiNon" value="true" />
<label for="true"><?=$langs->trans("ACMOui")?></label>
</th>
<th scope="row">
<input type="radio" id="" name="ouiNon" value="" checked/>
<label for=""><?=$langs->trans("ACMNon")?></label>
</th>
</tr>
<tr class="centpercent">
<th scope="row" colspan="2" >
<button class="centpercent" type="submit"><?=$langs->trans("ACMEnvoie")?></button>
</th>
</tr>
</table>
</fieldset>
</form>