summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSheldon Rampton2007-05-25 02:14:51 (GMT)
committerSheldon Rampton2007-05-25 02:14:51 (GMT)
commit6fb509e1fdc0ef563942cb08691e5c09481dbcc0 (patch)
tree1a441e1f6301df432e543ab35324bf406bbb2201
parent02be7a520537819d3277321a49926960f71be286 (diff)
fix settings fieldset5.x-1.0
-rw-r--r--interwiki.module6
1 files changed, 2 insertions, 4 deletions
diff --git a/interwiki.module b/interwiki.module
index 50bec4c..3d14bb2 100644
--- a/interwiki.module
+++ b/interwiki.module
@@ -306,7 +306,7 @@ function interwiki_filter($op, $delta = 0, $format = -1, $text = '') {
return $text;
case 'settings':
- $form['interwiki'] = array('#type' => 'fieldset', '#title' => t('Interwiki setttings'), '#collapsible' => TRUE, '#collapsed' => TRUE);
+ $form['interwiki'] = array('#type' => 'fieldset', '#title' => t('Interwiki settings'), '#collapsible' => TRUE, '#collapsed' => TRUE);
$sample_prefix = _interwiki_sample_prefix($format);
$syntax = variable_get("interwiki_syntax_$format", array('single'));
if ((array_search('double', $syntax) === FALSE) || !(array_search('single', $syntax) === FALSE)) {
@@ -327,7 +327,7 @@ function interwiki_filter($op, $delta = 0, $format = -1, $text = '') {
'%trans' => $trans_result,
'%prefixes' => l('interwiki', "interwiki/$format")
));
- $form[interwiki]['intro'] = array('#type' => 'markup', '#value' => $output);
+ $form[interwiki]['intro'] = array('#type' => 'markup', '#value' => "<p>$output</p>");
$syntax = array('single' => 'Single brackets, e.g., [prefix:some term]', 'double' => 'Double brackets, e.g., [[prefix:some term]]');
$form['interwiki']["interwiki_syntax_$format"] = array( '#type' => 'checkboxes', '#title' => t('Syntax'), '#default_value' => variable_get("interwiki_syntax_$format", array('single')), '#options' => $syntax, '#description' => t('Check the boxes above to select the syntax(es) used to specify interwiki links. Single brackets are simpler, but double brackets are closer to the syntax used by <a href="http://wikipedia.sourceforge.net/">MediaWiki</a>, one of the most most popular wiki software packages. (If neither is checked, the filter defaults to single bracket syntax.)') );
@@ -531,5 +531,3 @@ function interwiki_admin() {
print theme('page', $output);
}
-
-?> \ No newline at end of file