You are here

function bueditor_selaction_form in BUEditor 7

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

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'),
    ),
  );
  $form['copyto'] = array(
    '#type' => 'select',
    '#options' => array(
      'new' => t('Add new editor'),
    ) + bueditor_editor_options(),
  );
  $form['go'] = array(
    '#type' => 'submit',
    '#value' => t('Go'),
    '#submit' => array(
      'bueditor_selaction_submit',
    ),
  );
  return $form;
}