summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-04-14 13:45:50 +0000
committerGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-04-14 13:45:50 +0000
commit67fa69fe0ea588da023f5d55b89b96a8c6e1016f (patch)
tree1a043993703747b00cc44ec6bc07dcfd11a1912e
parent70000e682bbaf4bd1972ad8ec7147d235f63d5f8 (diff)
downloadbrdo-67fa69fe0ea588da023f5d55b89b96a8c6e1016f.tar.gz
brdo-67fa69fe0ea588da023f5d55b89b96a8c6e1016f.tar.bz2
#56947, fix filter link tips, patch by Dries Knapen
-rw-r--r--modules/filter.module8
-rw-r--r--modules/filter/filter.module8
2 files changed, 8 insertions, 8 deletions
diff --git a/modules/filter.module b/modules/filter.module
index dc705fd89..82a7eb4a0 100644
--- a/modules/filter.module
+++ b/modules/filter.module
@@ -819,10 +819,6 @@ function filter_form($value = FILTER_FORMAT_DEFAULT, $weight = NULL, $parents =
'#description' => theme('filter_tips', _filter_tips($format->format, false)),
);
}
- $form[] = array(
- '#type' => 'markup',
- '#value' => $extra,
- );
}
else {
// Only one format available: use a hidden form item and only show tips.
@@ -834,6 +830,10 @@ function filter_form($value = FILTER_FORMAT_DEFAULT, $weight = NULL, $parents =
'#value' => theme('filter_tips', $tips, false, $extra),
);
}
+ $form[] = array(
+ '#type' => 'markup',
+ '#value' => $extra,
+ );
return $form;
}
diff --git a/modules/filter/filter.module b/modules/filter/filter.module
index dc705fd89..82a7eb4a0 100644
--- a/modules/filter/filter.module
+++ b/modules/filter/filter.module
@@ -819,10 +819,6 @@ function filter_form($value = FILTER_FORMAT_DEFAULT, $weight = NULL, $parents =
'#description' => theme('filter_tips', _filter_tips($format->format, false)),
);
}
- $form[] = array(
- '#type' => 'markup',
- '#value' => $extra,
- );
}
else {
// Only one format available: use a hidden form item and only show tips.
@@ -834,6 +830,10 @@ function filter_form($value = FILTER_FORMAT_DEFAULT, $weight = NULL, $parents =
'#value' => theme('filter_tips', $tips, false, $extra),
);
}
+ $form[] = array(
+ '#type' => 'markup',
+ '#value' => $extra,
+ );
return $form;
}