summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSheldon Rampton2007-05-25 02:06:06 (GMT)
committerSheldon Rampton2007-05-25 02:06:06 (GMT)
commit56e72cb899e273213927522e01d6e0215cd41b3b (patch)
tree3931ba594e4b179f73315850f55cc5c88a43f714
parent9a96a27bf81f5089d6d608c85437640939ef0551 (diff)
fix settings fieldset
-rw-r--r--interwiki.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/interwiki.module b/interwiki.module
index 50bec4c..6fe4f08 100644
--- a/interwiki.module
+++ b/interwiki.module
@@ -1,4 +1,4 @@
-<?php
+f<?php
// $Id$
/**
@@ -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.)') );