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
$form['user_block_seconds_online']=array('#type'=>'select','#title'=>t('User activity'),'#default_value'=>variable_get('user_block_seconds_online',900),'#options'=>$period,'#description'=>t('A user is considered online for this long after they have last viewed a page.'));
$form['user_block_seconds_online']=array('#type'=>'select','#title'=>t('User activity'),'#default_value'=>variable_get('user_block_seconds_online',900),'#options'=>$period,'#description'=>t('A user is considered online for this long after they have last viewed a page.'));
// Retrieve a list of new users who have subsequently accessed the site successfully.
// Retrieve a list of new users who have subsequently accessed the site successfully.
$result=db_query_range('SELECT uid, name FROM {users} WHERE status != 0 AND access != 0 ORDER BY created DESC',0,5);
$result=db_query_range('SELECT uid, name FROM {users} WHERE status != 0 AND access != 0 ORDER BY created DESC',0,variable_get('user_block_whois_new_count',5));