diff -u b/core/modules/system/system.module b/core/modules/system/system.module --- b/core/modules/system/system.module +++ b/core/modules/system/system.module @@ -883,6 +883,7 @@ 'title' => 'Formats', 'description' => 'Configure display format strings for date and time.', 'page callback' => 'system_date_time_formats', + 'access arguments' => array('administer site configuration'), 'weight' => -9, 'file' => 'system.admin.inc', ); @@ -892,6 +893,7 @@ 'type' => MENU_LOCAL_ACTION, 'page callback' => 'drupal_get_form', 'page arguments' => array('system_configure_date_formats_form'), + 'access arguments' => array('administer site configuration'), 'weight' => -10, 'file' => 'system.admin.inc', ); @@ -900,6 +902,7 @@ 'description' => 'Allow users to edit a configured date format.', 'page callback' => 'drupal_get_form', 'page arguments' => array('system_configure_date_formats_form', 5), + 'access arguments' => array('administer site configuration'), 'file' => 'system.admin.inc', ); $items['admin/config/regional/date-time/formats/%system_date_format/delete'] = array( @@ -907,11 +910,13 @@ 'description' => 'Allow users to delete a configured date format.', 'page callback' => 'drupal_get_form', 'page arguments' => array('system_date_delete_format_form', 5), + 'access arguments' => array('administer site configuration'), 'file' => 'system.admin.inc', ); $items['admin/config/regional/date-time/formats/lookup'] = array( 'title' => 'Date and time lookup', 'page callback' => 'system_date_time_lookup', + 'access arguments' => array('administer site configuration'), 'type' => MENU_CALLBACK, 'file' => 'system.admin.inc', ); @@ -1023,6 +1028,7 @@ 'title' => 'Localize', 'description' => 'Configure date formats for each locale', 'page callback' => 'system_date_format_language_overview_page', + 'access arguments' => array('administer site configuration'), 'type' => MENU_LOCAL_TASK, 'weight' => -8, 'file' => 'system.admin.inc', @@ -1032,6 +1038,7 @@ 'description' => 'Configure date formats for each locale', 'page callback' => 'drupal_get_form', 'page arguments' => array('system_date_format_localize_form', 5), + 'access arguments' => array('administer site configuration'), 'file' => 'system.admin.inc', ); $items['admin/config/regional/date-time/locale/%/reset'] = array( @@ -1039,6 +1046,7 @@ 'description' => 'Reset localized date formats to global defaults', 'page callback' => 'drupal_get_form', 'page arguments' => array('system_date_format_localize_reset_form', 5), + 'access arguments' => array('administer site configuration'), 'file' => 'system.admin.inc', ); }