user_pass
Definition
user_pass()
modules/user.module, line 1035
Code
<?php
function user_pass() {
// Display form:
$form['name'] = array('#type' => 'textfield',
'#title' => t('Username'),
'#size' => 30,
'#maxlength' => 60,
);
$form['mail'] = array('#type' => 'textfield',
'#title' => t('E-mail address'),
'#size' => 30,
'#maxlength' => 64,
);
$form['submit'] = array('#type' => 'submit',
'#value' => t('E-mail new password'),
'#weight' => 2,
);
return drupal_get_form('user_pass', $form);
}
?> 