You are here

function forena_sync_form in Forena Reports 8

Same name and namespace in other branches
  1. 7.5 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:

Return value

array Syncronization form .

1 string reference to 'forena_sync_form'
forena_admin_reports in forena_ui/forena.admin.inc
Display reports to edit for admins in the structure menu Enter description here ...

File

forena_ui/forena.admin.inc, line 125

Code

function forena_sync_form($formid, &$form_state) {
  $form['sync_overwrite'] = array(
    '#type' => 'checkbox',
    '#title' => t('Revert all delivered reports to orignial'),
    '#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;
}