user_confirm_delete

  1. drupal
    1. drupal6
Versionen
drupal6 user_confirm_delete(&$form_state, $account)

Form builder; confirm form for user deletion.

See also

user_confirm_delete_submit()

Verwandte Themen

Code

modules/user/user.pages.inc, line 320

<?php
function user_confirm_delete(&$form_state, $account) {

  $form['_account'] = array('#type' => 'value', '#value' => $account);

  return confirm_form($form, 
    t('Are you sure you want to delete the account %name?', array('%name' => $account->name)), 
    'user/' . $account->uid, 
    t('All submissions made by this user will be attributed to the anonymous account. This action cannot be undone.'), 
    t('Delete'), t('Cancel'));
}
?>

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen