function forena_sync_form in Forena Reports 7.4
Same name and namespace in other branches
- 8 forena_ui/forena.admin.inc \forena_sync_form()
- 7.5 forena.admin.inc \forena_sync_form()
- 7.3 forena.admin.inc \forena_sync_form()
Report syncronization form
Parameters
$formid:
$form_state:
1 string reference to 'forena_sync_form'
- forena_admin_reports in ./
forena.admin.inc - Display reports to edit for admins in the structure menu Enter description here ...
File
- ./
forena.admin.inc, line 111
Code
function forena_sync_form($formid, &$form_state) {
$form['sync_overwrite'] = array(
'#type' => 'checkbox',
'#title' => t('Revert all delivered reports to original'),
'#required' => TRUE,
'#description' => t('All customizations to module delivered reports will be lost.'),
);
$form['sync'] = array(
'#type' => 'submit',
'#value' => t('Revert'),
'#submit' => array(
'forena_settings_sync_submit',
),
);
return $form;
}