Commit 4bc031b1 authored by Dries's avatar Dries

- Patch #11530 by Frodo: fixed long filter tips.
parent 986a476c
......@@ -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>';
}
......
......@@ -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 &lt;?php ?&gt; 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>';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment