function lingotek_setup_account_settings_form in Lingotek Translation 7.5
Same name and namespace in other branches
- 7.7 lingotek.setup.inc \lingotek_setup_account_settings_form()
- 7.2 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.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 239
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(
'#type' => 'item',
'#title' => 'Account Login',
'#description' => 'Connect an existing Lingotek account. This option is for users with an active paid TMS subscription.',
);
$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('No subscription? Go back and register for free.'));
$form['lingotek_support_footer'] = lingotek_support_footer();
return $form;
}