--- filter_example.module 2006-05-02 17:58:48.000000000 -0400 +++ /var/apache/cms.astrofoto.org/html/modules/filter_example/filter_example.module 2006-05-02 17:24:37.000000000 -0400 @@ -102,7 +102,15 @@ // be done for this filter in each of the different input formats that may // use it. case 'settings': - return form_textfield(t('Substitution string'), 'filter_example_foo_'. $format, variable_get('filter_example_foo_'. $format, 'bar'), 30, 255, t('The string to substitute for "foo" everywhere in the text.')); + $form['filter_example_filter'] = array('#type' => 'fieldset', '#title' => t('Filter Example filter'), '#collapsible' => TRUE, '#collapsed' => TRUE); + $form['filter_example_filter']['filter_example_foo_'.$format] = array( + '#type' => 'textfield', + '#title' => t('Substitution String'), + '#default_value' => variable_get('urlfilter_length_'. $format, 'bar'), + '#maxlength' => 255, + '#description' => t('The string to substitute for "foo" everywhere in the text'), + ); + return $form; } break;