Commit 05f8dbc5 authored by Dries's avatar Dries
Browse files

-Patch #713388 by Bojhan, mr.baileys: better weight items inside categories on Configuration.

parent 2fc31c1f
......@@ -102,6 +102,7 @@ function aggregator_menu() {
'description' => "Configure which content your site aggregates from other sites, how often it polls them, and how they're categorized.",
'page callback' => 'aggregator_admin_overview',
'access arguments' => array('administer news feeds'),
'weight' => 10,
'file' => 'aggregator.admin.inc',
);
$items['admin/config/services/aggregator/add/feed'] = array(
......
......@@ -58,6 +58,7 @@ function path_menu() {
'description' => "Change your site's URL paths by aliasing them.",
'page callback' => 'path_admin_overview',
'access arguments' => array('administer url aliases'),
'weight' => -10,
'file' => 'path.admin.inc',
);
$items['admin/config/search/path/edit/%path'] = array(
......
......@@ -224,6 +224,7 @@ function search_menu() {
'page arguments' => array('search_admin_settings'),
'access arguments' => array('administer search'),
'type' => MENU_NORMAL_ITEM,
'weight' => -5,
'file' => 'search.admin.inc',
);
$items['admin/config/search/settings/reindex'] = array(
......
......@@ -707,6 +707,7 @@ function system_menu() {
'page callback' => 'drupal_get_form',
'page arguments' => array('system_file_system_settings'),
'access arguments' => array('administer site configuration'),
'weight' => 10,
'file' => 'system.admin.inc',
);
$items['admin/config/media/image-toolkit'] = array(
......@@ -715,6 +716,7 @@ function system_menu() {
'page callback' => 'drupal_get_form',
'page arguments' => array('system_image_toolkit_settings'),
'access arguments' => array('administer site configuration'),
'weight' => 20,
'file' => 'system.admin.inc',
);
......@@ -751,6 +753,7 @@ function system_menu() {
'page callback' => 'drupal_get_form',
'page arguments' => array('system_site_maintenance_mode'),
'access arguments' => array('administer site configuration'),
'weight' => 50,
'file' => 'system.admin.inc',
);
$items['admin/config/development/performance'] = array(
......@@ -759,6 +762,7 @@ function system_menu() {
'page callback' => 'drupal_get_form',
'page arguments' => array('system_performance_settings'),
'access arguments' => array('administer site configuration'),
'weight' => -10,
'file' => 'system.admin.inc',
);
$items['admin/config/development/logging'] = array(
......@@ -767,6 +771,7 @@ function system_menu() {
'page callback' => 'drupal_get_form',
'page arguments' => array('system_logging_settings'),
'access arguments' => array('administer site configuration'),
'weight' => 60,
'file' => 'system.admin.inc',
);
......@@ -786,7 +791,7 @@ function system_menu() {
'page callback' => 'drupal_get_form',
'page arguments' => array('system_regional_settings'),
'access arguments' => array('administer site configuration'),
'weight' => -10,
'weight' => 50,
'file' => 'system.admin.inc',
);
$items['admin/config/regional/date-time'] = array(
......@@ -795,7 +800,7 @@ function system_menu() {
'page callback' => 'drupal_get_form',
'page arguments' => array('system_date_time_settings'),
'access arguments' => array('administer site configuration'),
'weight' => -9,
'weight' => 60,
'file' => 'system.admin.inc',
);
$items['admin/config/regional/date-time/types'] = array(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment