function theme_markup in Drupal 4
Same name and namespace in other branches
- 5 includes/form.inc \theme_markup()
- 6 includes/form.inc \theme_markup()
Format HTML markup for use in forms.
This is used in more advanced forms, such as theme selection and filter format.
Parameters
$element: An associative array containing the properties of the element. Properties used: prefix, value, children and suffix.
Return value
A themed HTML string representing the HTML markup.
Related topics
File
- includes/
form.inc, line 1094
Code
function theme_markup($element) {
return $element['#value'] . $element['#children'];
}