function lingotek_setup_account_settings_form in Lingotek Translation 7.2
Same name and namespace in other branches
- 7.7 lingotek.setup.inc \lingotek_setup_account_settings_form()
- 7.3 lingotek.setup.inc \lingotek_setup_account_settings_form()
- 7.4 lingotek.setup.inc \lingotek_setup_account_settings_form()
- 7.5 lingotek.setup.inc \lingotek_setup_account_settings_form()
- 7.6 lingotek.setup.inc \lingotek_setup_account_settings_form()
Account Settings (for Current Users) - Form
1 string reference to 'lingotek_setup_account_settings_form'
- lingotek_menu in ./
lingotek.module - Implements hook_menu().
File
- ./
lingotek.setup.inc, line 242 - Lingotek Easy Install Process.
Code
function lingotek_setup_account_settings_form() {
$current_login_id = variable_get('lingotek_login_id', '');
$current_password = variable_get('lingotek_password', '');
$form = array();
$form['lingotek_user_directions_1'] = array(
'#markup' => '<p>Login to an existing Lingotek account.</p>',
);
$form['lingotek_lid'] = array(
'#type' => 'textfield',
'#title' => t('Username'),
'#default_value' => $current_login_id,
'#size' => 40,
'#maxlength' => 128,
'#required' => TRUE,
'#attributes' => array(
'autocomplete' => array(
'off',
),
),
);
$form['lingotek_pid'] = array(
'#type' => 'password',
'#title' => t('Password'),
'#default_value' => $current_password,
'#size' => 40,
'#maxlength' => 128,
'#required' => TRUE,
'#attributes' => array(
'autocomplete' => array(
'off',
),
),
);
$form['lingotek_button_spacer'] = array(
'#markup' => '<div> </div>',
);
$form['save_settings'] = array(
'#type' => 'submit',
'#value' => t('Next'),
);
$form['lingotek_back_button'] = lingotek_setup_link('admin/config/lingotek/new-account', t('Need to create an account?'));
$form['lingotek_support_footer'] = lingotek_support_footer();
return $form;
}