user_confirm_delete

Хочешь помочь с переводом? Это очень просто и быстро. Лишь зарегистрируйся, и можешь тут же начать переводить.

modules/user/user.module, строка 1475

Версии
5
user_confirm_delete($name, $uid)
6
user_confirm_delete(&$form_state, $account)

Код

<?php
function user_confirm_delete($name, $uid) {
  $form['uid'] = array('#type' => 'value', '#value' => $uid);
  return confirm_form($form,
    t('Are you sure you want to delete the account %name?', array('%name' => $name)),
    'user/'. $uid,
    t('All submissions made by this user will be attributed to the anonymous account. This action cannot be undone.'),
    t('Delete'), t('Cancel'));
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

Вход в систему