Commit 67fa69fe authored by Gerhard Killesreiter's avatar Gerhard Killesreiter
Browse files

#56947, fix filter link tips, patch by Dries Knapen

parent 70000e68
......@@ -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;
}
......
......@@ -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;
}
......
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