function subscriptions_page_user_bulk in Subscriptions 7
Same name and namespace in other branches
- 6 subscriptions.admin.inc \subscriptions_page_user_bulk()
- 2.0.x subscriptions.admin.old.php \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 - Implements hook_menu().
File
- ./
subscriptions.admin.inc, 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;
}