You are here

function theme_views_bulk_operations_view_settings in Views Bulk Operations (VBO) 5

File

./views_bulk_operations.module, line 563
Allow bulk node operations directly within views.

Code

function theme_views_bulk_operations_view_settings($form) {
  $output = t('
    <p>These settings determine which actions will be available from within a
    bulk operations view form. Operations selected here will be available for
    execution on the form. If only one action is selected, no dropdown will
    be provided and users will be able to perform or configure the single
    operation directly from the view form.</p>
  ');
  if (module_exists('actions')) {
    $output .= t('
      <p><em>Note:</em> Some of the operations provided by the Actions module are
      identical to native Drupal node operations. In most cases, you should
      disable at least one of these operations.</p>
    ');
  }
  else {
    $output .= t('
      <p><em>Note:</em> Install the !actions_module to enable additional
      operations.</p>
    ', array(
      '!actions_module' => l('Actions module', 'http://drupal.org/project/actions'),
    ));
  }
  $output .= drupal_render($form);
  $output .= '<p class="cvs-version">$Id$</p>';
  return $output;
}