Skip to content
Snippets Groups Projects
Commit 4bc031b1 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #11530 by Frodo: fixed long filter tips.
parent 986a476c
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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>';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment