@@ -22,7 +22,7 @@ function dblog_help($path, $arg) {
$output.='<p>'.t('The dblog log is simply a list of recorded events containing usage data, performance data, errors, warnings and operational information. Administrators should check the dblog report on a regular basis to ensure their site is working properly.').'</p>';
$output.='<p>'.t('For more information please read the configuration and customization handbook <a href="@dblog">Dblog page</a>.',array('@dblog'=>'http://drupal.org/handbook/modules/dblog/')).'</p>';
return$output;
case'admin/logs/dblog':
case'admin/reports/dblog':
return'<p>'.t('The dblog module monitors your website, capturing system events in a log to be reviewed by an authorized individual at a later time. The dblog log is simply a list of recorded events containing usage data, performance data, errors, warnings and operational information. It is vital to check the dblog report on a regular basis as it is often the only way to tell what is going on.').'</p>';
}
}
...
...
@@ -50,28 +50,28 @@ function dblog_menu() {
'file'=>'dblog.admin.inc',
);
$items['admin/logs/dblog']=array(
$items['admin/reports/dblog']=array(
'title'=>'Recent log entries',
'description'=>'View events that have recently been logged.',
'page callback'=>'dblog_overview',
'weight'=>-1,
'file'=>'dblog.admin.inc',
);
$items['admin/logs/page-not-found']=array(
$items['admin/reports/page-not-found']=array(
'title'=>"Top 'page not found' errors",
'description'=>"View 'page not found' errors (404s).",
@@ -33,13 +33,13 @@ function statistics_help($path, $arg) {
');
$output.='<p>'.t('For more information please read the configuration and customization handbook <a href="@statistics">Statistics page</a>.',array('@statistics'=>'http://drupal.org/handbook/modules/statistics/')).'</p>';
return$output;
case'admin/logs/settings':
return'<p>'.t('Settings for the statistical information that Drupal will keep about the site. See <a href="@statistics">site statistics</a> for the actual information.',array('@statistics'=>url('admin/logs/hits'))).'</p>';
case'admin/logs/hits':
case'admin/reports/settings':
return'<p>'.t('Settings for the statistical information that Drupal will keep about the site. See <a href="@statistics">site statistics</a> for the actual information.',array('@statistics'=>url('admin/reports/hits'))).'</p>';
case'admin/reports/hits':
return'<p>'.t('This page shows you the most recent hits.').'</p>';
case'admin/logs/referrers':
case'admin/reports/referrers':
return'<p>'.t('This page shows you all external referrers. These are links pointing to your website from outside your website.').'</p>';
case'admin/logs/visitors':
case'admin/reports/visitors':
return'<p>'.t("When you ban a visitor, you prevent the visitor's IP address from accessing your site. Unlike blocking a user, banning a visitor works even for anonymous users. The most common use for this is to block bots/web crawlers that are consuming too many resources.").'</p>';
@@ -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() {
$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')));
@@ -66,7 +66,7 @@ function system_help($path, $arg) {
return$output;
case'admin/settings/actions/configure':
returnt('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'),
watchdog('update','Fetched information about all available new releases and updates.',array(),WATCHDOG_NOTICE,l('view','admin/logs/updates'));
watchdog('update','Fetched information about all available new releases and updates.',array(),WATCHDOG_NOTICE,l('view','admin/reports/updates'));
}
else{
watchdog('update','Unable to fetch any information about available new releases and updates.',array(),WATCHDOG_ERROR,l('view','admin/logs/updates'));
watchdog('update','Unable to fetch any information about available new releases and updates.',array(),WATCHDOG_ERROR,l('view','admin/reports/updates'));
* The "Update status" module checks for available updates of Drupal core and
* any installed contributed modules and themes. It warns site administrators
* if newer releases are available via the system status report
* (admin/logs/status), the module and theme pages, and optionally via email.
* (admin/reports/status), the module and theme pages, and optionally via email.
*/
/**
...
...
@@ -46,7 +46,7 @@
*/
functionupdate_help($path,$arg){
switch($path){
case'admin/logs/updates':
case'admin/reports/updates':
return'<p>'.t('Here you can find information about available updates for your installed modules and themes. Note that each module or theme is part of a "project", which may or may not have the same name, and might include multiple modules or themes within it.').'</p>';
case'admin/build/themes':
...
...
@@ -64,10 +64,10 @@ function update_help($path, $arg) {
}
}
}
return'<p>'.t('See the <a href="@available_updates">available updates</a> page for information on installed modules and themes with new versions released.',array('@available_updates'=>url('admin/logs/updates'))).'</p>';
return'<p>'.t('See the <a href="@available_updates">available updates</a> page for information on installed modules and themes with new versions released.',array('@available_updates'=>url('admin/reports/updates'))).'</p>';
case'admin/logs/updates/settings':
case'admin/logs/status':
case'admin/reports/updates/settings':
case'admin/reports/status':
// These two pages don't need additional nagging.
break;
...
...
@@ -97,7 +97,7 @@ function update_help($path, $arg) {
functionupdate_menu(){
$items=array();
$items['admin/logs/updates']=array(
$items['admin/reports/updates']=array(
'title'=>'Available updates',
'description'=>'Get a status report about available updates for your installed modules and themes.',
'page callback'=>'update_status',
...
...
@@ -105,14 +105,14 @@ function update_menu() {
'file'=>'update.report.inc',
'weight'=>10,
);
$items['admin/logs/updates/list']=array(
$items['admin/reports/updates/list']=array(
'title'=>'List',
'page callback'=>'update_status',
'access arguments'=>array('administer site configuration'),
'file'=>'update.report.inc',
'type'=>MENU_DEFAULT_LOCAL_TASK,
);
$items['admin/logs/updates/settings']=array(
$items['admin/reports/updates/settings']=array(
'title'=>'Settings',
'page callback'=>'drupal_get_form',
'page arguments'=>array('update_settings'),
...
...
@@ -120,7 +120,7 @@ function update_menu() {
'file'=>'update.settings.inc',
'type'=>MENU_LOCAL_TASK,
);
$items['admin/logs/updates/check']=array(
$items['admin/reports/updates/check']=array(
'title'=>'Manual update check',
'page callback'=>'update_manual_status',
'access arguments'=>array('administer site configuration'),
...
...
@@ -266,8 +266,8 @@ function update_form_alter(&$form, $form_state, $form_id) {
function_update_no_data(){
$destination=drupal_get_destination();
returnt('No information is available about potential new releases for currently installed modules and themes. To check for updates, you may need to <a href="@run_cron">run cron</a> or you can <a href="@check_manually">check manually</a>. Please note that checking for available updates can take a long time, so please be patient.',array(
$message['body'][]=t('See the available updates page for more information:',array(),$langcode)."\n".url('admin/logs/updates',array('absolute'=>TRUE,'language'=>$language));
$message['body'][]=t('See the available updates page for more information:',array(),$langcode)."\n".url('admin/reports/updates',array('absolute'=>TRUE,'language'=>$language));
}
/**
...
...
@@ -340,7 +340,7 @@ function update_mail($key, &$message, $params) {
* of date or missing a security update.
*
* These error messages are shared by both update_requirements() for the
* site-wide status report at admin/logs/status and in the body of the
* site-wide status report at admin/reports/status and in the body of the
$text.=' '.t('See the <a href="@available_updates">available updates</a> page for more information.',array('@available_updates'=>url('admin/logs/updates',array('language'=>$language))),$langcode);
$text.=' '.t('See the <a href="@available_updates">available updates</a> page for more information.',array('@available_updates'=>url('admin/reports/updates',array('language'=>$language))),$langcode);
'#description'=>t('If there are updates available of Drupal core or any of your installed modules and themes, your site will print an error message on the <a href="@status_report">status report</a>, the <a href="@modules_page">modules page</a>, and the <a href="@themes_page">themes page</a>. You can choose to only see these error messages if a security update is available, or to be notified about any newer versions.',array('@status_report'=>url('admin/logs/status'),'@modules_page'=>url('admin/build/modules'),'@themes_page'=>url('admin/build/themes')))
'#description'=>t('If there are updates available of Drupal core or any of your installed modules and themes, your site will print an error message on the <a href="@status_report">status report</a>, the <a href="@modules_page">modules page</a>, and the <a href="@themes_page">themes page</a>. You can choose to only see these error messages if a security update is available, or to be notified about any newer versions.',array('@status_report'=>url('admin/reports/status'),'@modules_page'=>url('admin/build/modules'),'@themes_page'=>url('admin/build/themes')))