Skip to content
Snippets Groups Projects
Commit ec04325b authored by Steven Wittens's avatar Steven Wittens
Browse files

- Make forum_hot_topic scale a bit more logical

parent 48212006
No related branches found
No related tags found
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
...@@ -177,7 +177,7 @@ function forum_taxonomy($op, $type, $term = NULL) { ...@@ -177,7 +177,7 @@ function forum_taxonomy($op, $type, $term = NULL) {
function forum_admin_configure() { function forum_admin_configure() {
$form = array(); $form = array();
$number = drupal_map_assoc(array(5, 10, 15, 20, 25, 30, 35, 40, 50, 60, 80, 100, 10000)); $number = drupal_map_assoc(array(5, 10, 15, 20, 25, 30, 35, 40, 50, 60, 80, 100, 150, 200, 250, 300, 350, 400, 500));
$form['forum_hot_topic'] = array('#type' => 'select', $form['forum_hot_topic'] = array('#type' => 'select',
'#title' => t('Hot topic threshold'), '#title' => t('Hot topic threshold'),
'#default_value' => variable_get('forum_hot_topic', 15), '#default_value' => variable_get('forum_hot_topic', 15),
......
...@@ -177,7 +177,7 @@ function forum_taxonomy($op, $type, $term = NULL) { ...@@ -177,7 +177,7 @@ function forum_taxonomy($op, $type, $term = NULL) {
function forum_admin_configure() { function forum_admin_configure() {
$form = array(); $form = array();
$number = drupal_map_assoc(array(5, 10, 15, 20, 25, 30, 35, 40, 50, 60, 80, 100, 10000)); $number = drupal_map_assoc(array(5, 10, 15, 20, 25, 30, 35, 40, 50, 60, 80, 100, 150, 200, 250, 300, 350, 400, 500));
$form['forum_hot_topic'] = array('#type' => 'select', $form['forum_hot_topic'] = array('#type' => 'select',
'#title' => t('Hot topic threshold'), '#title' => t('Hot topic threshold'),
'#default_value' => variable_get('forum_hot_topic', 15), '#default_value' => variable_get('forum_hot_topic', 15),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment