You are here

function subscriptions_page_user_bulk in Subscriptions 2.0.x

Same name and namespace in other branches
  1. 6 subscriptions.admin.inc \subscriptions_page_user_bulk()
  2. 7 subscriptions.admin.inc \subscriptions_page_user_bulk()

Provides the form definition for admin/config/system/subscriptions/userdefaults/bulk.

Called by _subscriptions_menu() in subscriptions.module.

Return value

array

See also

_subscriptions_menu()

1 string reference to 'subscriptions_page_user_bulk'
subscriptions_menu in ./subscriptions.module.old.php
Implements hook_menu().

File

./subscriptions.admin.old.php, line 869
Subscriptions module (load-on-demand admin functions).

Code

function subscriptions_page_user_bulk() {
  $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(
    '#markup' => $output,
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Done'),
  );
  return $form;
}