summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel.module6
-rw-r--r--devel_generate.module18
-rw-r--r--devel_themer.module4
-rw-r--r--macro.module10
4 files changed, 19 insertions, 19 deletions
diff --git a/devel.module b/devel.module
index 896f067..d681212 100644
--- a/devel.module
+++ b/devel.module
@@ -49,13 +49,15 @@ function devel_menu() {
$items['devel/queries'] = array(
'title' => 'Database queries',
'page callback' => 'devel_queries',
- 'access callback' => devel_menu_access_store_queries(),
+ 'access callback' => 'devel_menu_access_store_queries',
+ 'access arguments' => array(),
'menu_name' => 'devel',
);
$items['devel/queries/empty'] = array(
'title' => 'Empty database queries',
'page callback' => 'devel_queries_empty',
- 'access callback' => devel_menu_access_store_queries(),
+ 'access callback' => 'devel_menu_access_store_queries',
+ 'access arguments' => array(),
'menu_name' => 'devel',
);
$items['devel/reference'] = array(
diff --git a/devel_generate.module b/devel_generate.module
index 9cdf89d..e9ec946 100644
--- a/devel_generate.module
+++ b/devel_generate.module
@@ -12,7 +12,7 @@ function devel_generate_menu() {
// Admin user pages
$items['admin/generate'] = array(
'title' => 'Generate items',
- 'description' => "Populate your database with dummy items.",
+ 'description' => 'Populate your database with dummy items.',
'position' => 'left',
'page callback' => 'system_admin_menu_block_page',
'access arguments' => array('administer site configuration'),
@@ -20,23 +20,23 @@ function devel_generate_menu() {
'file path' => drupal_get_path('module', 'system'),
);
$items['admin/generate/user'] = array(
- 'title' => t('Generate users'),
- 'description' => t('Generate a given number of users. Optionally delete current users.'),
+ 'title' => 'Generate users',
+ 'description' => 'Generate a given number of users. Optionally delete current users.',
'page callback' => 'drupal_get_form',
'page arguments' => array('devel_generate_users_form'),
- 'access arguments' => array('administer users')
+ 'access arguments' => array('administer users'),
);
$items['admin/generate/content'] = array(
- 'title' => t('Generate content'),
- 'description' => t('Generate a given number of nodes and comments. Optionally delete current items.'),
+ 'title' => 'Generate content',
+ 'description' => 'Generate a given number of nodes and comments. Optionally delete current items.',
'page callback' => 'drupal_get_form',
'page arguments' => array('devel_generate_content_form'),
- 'access arguments' => array('administer nodes')
+ 'access arguments' => array('administer nodes'),
);
if (module_exists('taxonomy')) {
$items['admin/generate/taxonomy'] = array(
- 'title' => t('Generate categories'),
- 'description' => t('Generate a given number of vocabularies and terms. Optionally delete current categories.'),
+ 'title' => 'Generate categories',
+ 'description' => 'Generate a given number of vocabularies and terms. Optionally delete current categories.',
'page callback' => 'drupal_get_form',
'page arguments' => array('devel_generate_taxonomy_form'),
'access arguments' => array('administer nodes'),
diff --git a/devel_themer.module b/devel_themer.module
index fbefd2c..bc55923 100644
--- a/devel_themer.module
+++ b/devel_themer.module
@@ -8,11 +8,11 @@ function devel_themer_menu() {
$items['admin/settings/devel_themer'] = array(
'title' => 'Devel Themer',
- 'description' => t('Display or hide the textual template log'),
+ 'description' => 'Display or hide the textual template log',
'page callback' => 'drupal_get_form',
'page arguments' => array('devel_themer_admin_settings'),
'access arguments' => array('administer site configuration'),
- 'type' => MENU_NORMAL_ITEM
+ 'type' => MENU_NORMAL_ITEM,
);
$items['devel_themer/enable'] = array(
'title' => 'Devel Themer Enable',
diff --git a/macro.module b/macro.module
index 1b89ac9..653d2fc 100644
--- a/macro.module
+++ b/macro.module
@@ -29,24 +29,22 @@ function macro_menu() {
$items = array();
$items['admin/build/macro'] = array(
- 'title' => t('Macro engine'),
- 'description' => t('Configure the Drupal macro engine. Export recorded macros or import previously recorded macros.'),
+ 'title' => 'Macro engine',
+ 'description' => 'Configure the Drupal macro engine. Export recorded macros or import previously recorded macros.',
'page callback' => 'drupal_get_form',
'page arguments' => array('macro_admin_settings'),
'access callback' => 'user_access',
'access arguments' => array('administer macro settings'),
);
$items['admin/build/macro/export'] = array(
- 'title' => t('Export'),
- 'access' => true,
+ 'title' => 'Export',
'page callback' => 'drupal_get_form',
'page arguments' => array('macro_export_macro'),
'access arguments' => array('macro access'),
'type' => MENU_LOCAL_TASK,
);
$items['admin/build/macro/import'] = array(
- 'title' => t('Import'),
- 'access' => true,
+ 'title' => 'Import',
'page callback' => 'drupal_get_form',
'page arguments' => array('macro_import_macro'),
'access arguments' => array('macro access'),