function system_status_form in System Status 6.2
Same name and namespace in other branches
- 7 system_status.admin.inc \system_status_form()
Page callback: System settings settings.
See also
1 string reference to 'system_status_form'
- system_status_menu in ./
system_status.module - Implements hook_menu().
File
- ./
system_status.admin.inc, line 12 - Admin forms for system_status
Code
function system_status_form(&$form_state) {
$form['system_status_service_allow_drupalstatus'] = array(
'#type' => 'checkbox',
'#title' => t('Allow reporting to DrupalStatus.org'),
'#description' => t('Allow reports to be generated by DrupalStatus. The reports will be stored and send using encryption and are only accessible using your account credentials on DrupalStatus.org'),
'#default_value' => variable_get('system_status_service_allow_drupalstatus', '1'),
'#disabled' => TRUE,
);
$form['add_site'] = array(
'#type' => 'submit',
'#value' => t('Add this site to your DrupalStatus.org overview'),
'#submit' => array(
'system_status_add_site',
),
);
return $form;
}