2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
@@ -29,7 +29,6 @@ function statistics_help($section) {
<li>Enable access log allows you to turn the access log on and off. This log is used to store data about every page accessed, such as the remote host\'s IP address, where they came from (referrer), what node they\'ve viewed, and their user name. Enabling the log adds one database call per page displayed by Drupal.</li>
<li>Discard access logs older than allows you to configure how long an access log entry is saved, after which time it is deleted from the database table. To use this you need to run <em>cron.php</em></li>
<li>Enable node view counter allows you to turn on and off the node-counting functionality of this module. If it is turned on, an extra database query is added for each node displayed, which increments a counter.</li>
<li>Display node view counters allows you to globally disable the displaying of node view counters.</li>
$form['content']['statistics_count_content_views']=array('#type'=>'radios','#title'=>t('Count content views'),'#default_value'=>variable_get('statistics_count_content_views',0),'#options'=>$options,'#description'=>t('Increment a counter each time content is viewed.'));
$form['content']['statistics_display_counter']=array('#type'=>'radios','#title'=>t('Display counter values'),'#default_value'=>variable_get('statistics_display_counter',0),'#options'=>$options,'#description'=>t('Display how many times given content has been viewed.'));
@@ -29,7 +29,6 @@ function statistics_help($section) {
<li>Enable access log allows you to turn the access log on and off. This log is used to store data about every page accessed, such as the remote host\'s IP address, where they came from (referrer), what node they\'ve viewed, and their user name. Enabling the log adds one database call per page displayed by Drupal.</li>
<li>Discard access logs older than allows you to configure how long an access log entry is saved, after which time it is deleted from the database table. To use this you need to run <em>cron.php</em></li>
<li>Enable node view counter allows you to turn on and off the node-counting functionality of this module. If it is turned on, an extra database query is added for each node displayed, which increments a counter.</li>
<li>Display node view counters allows you to globally disable the displaying of node view counters.</li>
$form['content']['statistics_count_content_views']=array('#type'=>'radios','#title'=>t('Count content views'),'#default_value'=>variable_get('statistics_count_content_views',0),'#options'=>$options,'#description'=>t('Increment a counter each time content is viewed.'));
$form['content']['statistics_display_counter']=array('#type'=>'radios','#title'=>t('Display counter values'),'#default_value'=>variable_get('statistics_display_counter',0),'#options'=>$options,'#description'=>t('Display how many times given content has been viewed.'));