Index: wiki.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/wiki/wiki.module,v
retrieving revision 1.17
diff -u -p -r1.17 wiki.module
--- wiki.module	14 May 2005 21:37:41 -0000	1.17
+++ wiki.module	25 Feb 2006 23:25:24 -0000
@@ -68,10 +68,18 @@ function wiki_menu($may_cache) {
 * Settings for the WikiText filter.
 */
 function _wiki_filter_settings($format) {
-  $group = form_radios(t('Support Escaped HTML'), "wiki_filter_html", variable_get("wiki_filter_html", WIKI_FILTER_HTML_DISABLE), array(WIKI_FILTER_HTML_ENABLE => t('Enable HTML'), WIKI_FILTER_HTML_DISABLE => t('Disable HTML')), t('Whether to allow |&gt;-escaped HTML.  If set to "enable", then any HTML goes on each line after the |&gt; escape marker.  If set to "disable", then any HTML tags will be shown as is, unless the HTML Filter has been separately enabled.  It is recommended that this be disabled.  Turn on the HTML Filter to support HTML, but make sure the HTML filter applies <em>after</em> the WikiText filter.'));
-  $output .= form_group(t('WikiText filter'), $group);
-
-  return $output;
+    $form['filter_wiki'] = array('#type' => 'fieldset', '#title' => t('WikiText filter'), '#collapsible' => TRUE, '#collapsed' => TRUE);
+    $form['filter_wiki']['wiki_filter_html'] = array( 
+        '#type' => 'radios', 
+        '#title' => t('Support Escaped HTML'), 
+        '#default_value' => variable_get("wiki_filter_html", WIKI_FILTER_HTML_DISABLE), 
+        '#options' => array( 
+            WIKI_FILTER_HTML_ENABLE => t('Enable HTML'), 
+            WIKI_FILTER_HTML_DISABLE => t('Disable HTML')
+        ), 
+        '#description' => t('Whether to allow |&gt;-escaped HTML.  If set to "enable", then any HTML goes on each line after the |&gt; escape marker.  If set to "disable", then any HTML tags will be shown as is, unless the HTML Filter has been separately enabled. It is recommended that this be disabled.  Turn on the HTML Filter to support HTML, but make sure the HTML filter applies <em>after</em> the WikiText filter.') 
+    ); 
+    return $form; 
 }
 
 
