You are here

function forena_sync_form in Forena Reports 7.5

Same name and namespace in other branches
  1. 8 forena_ui/forena.admin.inc \forena_sync_form()
  2. 7.3 forena.admin.inc \forena_sync_form()
  3. 7.4 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;
}