Want more features on Pastebin? Sign Up, it's FREE!
Guest

core/modules/user/user.module

By: a guest on Sep 5th, 2013  |  syntax: PHP  |  size: 1.36 KB  |  views: 6  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.   $items['admin/people/cancel'] = array(
  2.     'title' => 'Cancel user',
  3.     'page callback' => 'drupal_get_form',
  4.     'page arguments' => array('user_multiple_cancel_confirm'),
  5.     'access arguments' => array('administer users'),
  6.     'file' => 'user.admin.inc',
  7.     'type' => MENU_CALLBACK,
  8.   );
  9.  
  10.   // Administration pages.
  11.   $items['admin/config/people'] = array(
  12. <<<<<<< HEAD
  13.     'title' => 'People',
  14.     'description' => 'Configure user accounts.',
  15.     'position' => 'left',
  16.     'weight' => -20,
  17.     'route_name' => 'user_admin_index',
  18. =======
  19.    'title' => 'People',
  20.    'description' => 'Configure user accounts.',
  21.    'position' => 'left',
  22.    'weight' => -20,
  23.    'page callback' => 'system_admin_menu_block_page',
  24.    'access arguments' => array('administer account settings'),
  25.    'file' => 'system.admin.inc',
  26.    'file path' => drupal_get_path('module', 'system'),
  27. >>>>>>> "Administer Users" permission should be separate from "User Settings"
  28.   );
  29.  
  30.   $items['admin/config/people/accounts'] = array(
  31.     'title' => 'Account settings',
  32.     'description' => 'Configure default behavior of users, including registration requirements, e-mails, and fields.',
  33.     'weight' => -10,
  34.     'route_name' => 'user_account_settings',
  35.   );
  36.   $items['admin/config/people/accounts/settings'] = array(
  37.     'title' => 'Settings',
  38.     'type' => MENU_DEFAULT_LOCAL_TASK,
  39.   );
clone this paste RAW Paste Data