summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-10-20 21:57:50 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-10-20 21:57:50 +0000
commit7c31bcdeac94c254130845c3959753b68c36ea1e (patch)
tree334f1a2abbd9de134fba66bcb435b3b2e6c57a1b /modules/system
parent6dcfce0127bc7ea3f4bb843ddcaf44becd98d9fa (diff)
downloadbrdo-7c31bcdeac94c254130845c3959753b68c36ea1e.tar.gz
brdo-7c31bcdeac94c254130845c3959753b68c36ea1e.tar.bz2
#165140 by dww: rename logs to reports (usability improvement)
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.admin.inc4
-rw-r--r--modules/system/system.install4
-rw-r--r--modules/system/system.module18
3 files changed, 13 insertions, 13 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index 27a900b86..925e666a5 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -19,7 +19,7 @@ function system_main_admin_page($arg = NULL) {
// Check for status report errors.
if (system_status(TRUE)) {
- drupal_set_message(t('One or more problems were detected with your Drupal installation. Check the <a href="@status">status report</a> for more information.', array('@status' => url('admin/logs/status'))), 'error');
+ drupal_set_message(t('One or more problems were detected with your Drupal installation. Check the <a href="@status">status report</a> for more information.', array('@status' => url('admin/reports/status'))), 'error');
}
$blocks = array();
if ($admin = db_fetch_array(db_query("SELECT menu_name, mlid FROM {menu_links} WHERE link_path = 'admin' AND module = 'system'"))) {
@@ -1601,7 +1601,7 @@ function system_run_cron() {
drupal_set_message(t('Cron run failed'));
}
- drupal_goto('admin/logs/status');
+ drupal_goto('admin/reports/status');
}
/**
diff --git a/modules/system/system.install b/modules/system/system.install
index cc2c5bf8c..65deea35a 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -51,7 +51,7 @@ function system_requirements($phase) {
// Test PHP version
$requirements['php'] = array(
'title' => $t('PHP'),
- 'value' => ($phase == 'runtime') ? l(phpversion(), 'admin/logs/status/php') : phpversion(),
+ 'value' => ($phase == 'runtime') ? l(phpversion(), 'admin/reports/status/php') : phpversion(),
);
if (version_compare(phpversion(), DRUPAL_MINIMUM_PHP) < 0) {
$requirements['php']['description'] = $t('Your PHP installation is too old. Drupal requires at least PHP %version.', array('%version' => DRUPAL_MINIMUM_PHP));
@@ -105,7 +105,7 @@ function system_requirements($phase) {
}
$requirements['cron'] += array('description' => '');
- $requirements['cron']['description'] .= ' '. $t('You can <a href="@cron">run cron manually</a>.', array('@cron' => url('admin/logs/status/run-cron')));
+ $requirements['cron']['description'] .= ' '. $t('You can <a href="@cron">run cron manually</a>.', array('@cron' => url('admin/reports/status/run-cron')));
$requirements['cron']['title'] = $t('Cron maintenance tasks');
}
diff --git a/modules/system/system.module b/modules/system/system.module
index eb99f4e7e..0d68f55d8 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -66,7 +66,7 @@ function system_help($path, $arg) {
return $output;
case 'admin/settings/actions/configure':
return t('An advanced action offers additional configuration options which may be filled out below. Changing the <em>Description</em> field is recommended, in order to better identify the precise action taking place. This description will be displayed in modules such as the trigger module when assigning actions to system events, so it is best if it is as descriptive as possible (for example, "Send e-mail to Moderation Team" rather than simply "Send e-mail").');
- case 'admin/logs/status':
+ case 'admin/reports/status':
return '<p>'. t("Here you can find a short overview of your Drupal site's parameters as well as any problems detected with your installation. It is useful to copy/paste this information when you need support.") .'</p>';
}
}
@@ -402,16 +402,16 @@ function system_menu() {
'file' => 'system.admin.inc',
);
- // Logs:
- $items['admin/logs'] = array(
- 'title' => 'Logs',
- 'description' => 'View system logs and other status information.',
+ // Reports:
+ $items['admin/reports'] = array(
+ 'title' => 'Reports',
+ 'description' => 'View reports from system logs and other status information.',
'page callback' => 'system_admin_menu_block_page',
'weight' => 5,
'position' => 'left',
'file' => 'system.admin.inc',
);
- $items['admin/logs/status'] = array(
+ $items['admin/reports/status'] = array(
'title' => 'Status report',
'description' => "Get a status report about your site's operation and any detected problems.",
'page callback' => 'system_status',
@@ -419,19 +419,19 @@ function system_menu() {
'access arguments' => array('administer site configuration'),
'file' => 'system.admin.inc',
);
- $items['admin/logs/status/run-cron'] = array(
+ $items['admin/reports/status/run-cron'] = array(
'title' => 'Run cron',
'page callback' => 'system_run_cron',
'type' => MENU_CALLBACK,
'file' => 'system.admin.inc',
);
- $items['admin/logs/status/php'] = array(
+ $items['admin/reports/status/php'] = array(
'title' => 'PHP',
'page callback' => 'system_php',
'type' => MENU_CALLBACK,
'file' => 'system.admin.inc',
);
- $items['admin/logs/status/sql'] = array(
+ $items['admin/reports/status/sql'] = array(
'title' => 'SQL',
'page callback' => 'system_sql',
'type' => MENU_CALLBACK,