You are here

function subscriptions_page_user_bulk in Subscriptions 6

Same name and namespace in other branches
  1. 7 subscriptions.admin.inc \subscriptions_page_user_bulk()
  2. 2.0.x subscriptions.admin.old.php \subscriptions_page_user_bulk()

Provide the form definition for admin/settings/subscriptions/userdefaults/bulk.

Called by _subscriptions_menu() in subscriptions.module.

See also

_subscriptions_menu()

1 string reference to 'subscriptions_page_user_bulk'
subscriptions_menu in ./subscriptions.module
Implementation of hook_menu().

File

./subscriptions.admin.inc, line 731
Subscriptions module (load-on-demand admin functions).

Code

function subscriptions_page_user_bulk(&$form_state) {
  $variables = _subscriptions_page_user_bulk_variables();
  $output = $variables['info'] . '<br /><br />';
  $output .= t('Proceed as follows:', $variables) . '<ol>';
  $output .= '<li>' . t('Navigate to any of the subscription type subtabs.', $variables) . '</li>';
  $output .= '<li>' . t('Select the subscriptions to change.', $variables) . '</li>';
  $output .= '<li>' . t('Click [@Save] to perform the action for the selected users and return here.', $variables) . '</li>';
  $output .= '<li>' . t('Repeat if desired.', $variables) . '</li>';
  $output .= '<li>' . t('Click [@Done] below to clear the selected list of users and return to the user list page.', $variables) . '</li></ol><br />';
  $form['info'] = array(
    '#type' => 'item',
    '#value' => $output,
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Done'),
  );
  return $form;
}