drupal core updated to 7.28

This commit is contained in:
Bachir Soussi Chiadmi
2014-07-07 18:53:44 +02:00
parent 10de06dd70
commit c3011cef61
263 changed files with 3331 additions and 8894 deletions

View File

@@ -263,9 +263,7 @@ function statistics_access_log($aid) {
);
return $build;
}
else {
drupal_not_found();
}
return MENU_NOT_FOUND;
}
/**
@@ -305,6 +303,17 @@ function statistics_settings_form() {
'#default_value' => variable_get('statistics_count_content_views', 0),
'#description' => t('Increment a counter each time content is viewed.'),
);
$form['content']['statistics_count_content_views_ajax'] = array(
'#type' => 'checkbox',
'#title' => t('Use Ajax to increment the counter'),
'#default_value' => variable_get('statistics_count_content_views_ajax', 0),
'#description' => t('Perform the count asynchronously after page load rather than during page generation.'),
'#states' => array(
'disabled' => array(
':input[name="statistics_count_content_views"]' => array('checked' => FALSE),
),
),
);
return system_settings_form($form);
}