diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-10-13 17:03:06 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-10-13 17:03:06 +0000 |
commit | 4bc031b13e098be8bacdd13ffe91d6e91eabe90f (patch) | |
tree | 4665ca7c9b05c80d46cbc9b53958c6cdd25f5c61 /modules | |
parent | 986a476c45a6e5c153719e79f1eb50c3efcf6ec5 (diff) | |
download | brdo-4bc031b13e098be8bacdd13ffe91d6e91eabe90f.tar.gz brdo-4bc031b13e098be8bacdd13ffe91d6e91eabe90f.tar.bz2 |
- Patch #11530 by Frodo: fixed long filter tips.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/filter.module | 4 | ||||
-rw-r--r-- | modules/filter/filter.module | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/filter.module b/modules/filter.module index a67e3d186..5cdd0d46f 100644 --- a/modules/filter.module +++ b/modules/filter.module @@ -72,7 +72,7 @@ function filter_filter_tips($delta, $format, $long = false) { break; case 1: - switch ($type) { + switch ($long) { case 0: return t('You may post PHP code. You should include <?php ?> tags.'); case 1: @@ -742,7 +742,7 @@ function theme_filter_tips($tips, $long = false, $extra = '') { if ($tips) { $output .= "<ul class=\"tips\">$tips</ul>"; } - + if ($multiple) { $output .= '</li>'; } diff --git a/modules/filter/filter.module b/modules/filter/filter.module index a67e3d186..5cdd0d46f 100644 --- a/modules/filter/filter.module +++ b/modules/filter/filter.module @@ -72,7 +72,7 @@ function filter_filter_tips($delta, $format, $long = false) { break; case 1: - switch ($type) { + switch ($long) { case 0: return t('You may post PHP code. You should include <?php ?> tags.'); case 1: @@ -742,7 +742,7 @@ function theme_filter_tips($tips, $long = false, $extra = '') { if ($tips) { $output .= "<ul class=\"tips\">$tips</ul>"; } - + if ($multiple) { $output .= '</li>'; } |