mirror of
https://codeberg.org/ThisIsMiseryy/techstore
synced 2026-05-14 12:42:04 +00:00
Rimozione pulsante Elimina in gestione utente
Rimosso in quanto impossibile eliminare utenti a cui sono associati ordini dal DBMS
This commit is contained in:
@@ -154,11 +154,6 @@ if ($result === false) {
|
||||
<input type="hidden" name="user_id" value="<?php echo $user['UserID']; ?>">
|
||||
<button type="submit" class="btn-reset" title="Genera una nuova password temporanea">Reset Password</button>
|
||||
</form>
|
||||
<form method="POST" style="display: inline;" onsubmit="return confirm('Sei sicuro di voler eliminare questo utente e tutti i suoi ordini?');">
|
||||
<input type="hidden" name="action" value="delete_user">
|
||||
<input type="hidden" name="user_id" value="<?php echo $user['UserID']; ?>">
|
||||
<button type="submit" class="btn-delete">Elimina</button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endwhile; ?>
|
||||
|
||||
Reference in New Issue
Block a user