You are here

function bueditor_selaction_form in BUEditor 6.2

Same name and namespace in other branches
  1. 7 admin/bueditor.admin.inc \bueditor_selaction_form()

Selected buttons actions form.

1 call to bueditor_selaction_form()
bueditor_editor_form in admin/bueditor.admin.inc
Editor form.

File

admin/bueditor.admin.inc, line 386

Code

function bueditor_selaction_form() {
  $form['selaction'] = array(
    '#type' => 'select',
    '#options' => array(
      '' => t('... selecteds'),
      'delete' => t('Delete'),
      'export' => t('Export'),
      'copyto' => t('Copy to editor'),
    ),
  );
  $eoptions = array(
    'new' => t('Add new editor'),
  ) + bueditor_editor_options();
  unset($eoptions[0]);
  $form['copyto'] = array(
    '#type' => 'select',
    '#options' => $eoptions,
  );
  $form['go'] = array(
    '#type' => 'submit',
    '#value' => t('Go'),
    '#submit' => array(
      'bueditor_selaction_submit',
    ),
  );
  return $form;
}