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
$output.='<br /><h3>'.(isset($fid)?t('Edit threshold'):t('Add new threshold')).'</h3>';
$form.=form_textfield(t('Threshold name'),'filter',$filter->filter,32,64,t('The name of this threshold. Example: "good comments", "+1 comments", "everything".'));
$form.=form_textfield(t('Minimum score'),'minimum',$filter->minimum,32,64,t('Show all comments whose score is larger or equal to the provided minimal score. Range: -127 +128'));
$output.='<br /><h3>'.(isset($fid)?t('Edit threshold'):t('Add new threshold')).'</h3>';
$form.=form_textfield(t('Threshold name'),'filter',$filter->filter,32,64,t('The name of this threshold. Example: "good comments", "+1 comments", "everything".'));
$form.=form_textfield(t('Minimum score'),'minimum',$filter->minimum,32,64,t('Show all comments whose score is larger or equal to the provided minimal score. Range: -127 +128'));