function theme_messaging_template_text_part in Messaging 6.3
Theme text part fieldset
File
- messaging_template/
messaging_template.admin.inc, line 454 - Messaging Framework - Admin UI
Code
function theme_messaging_template_text_part(&$element) {
$output = '<fieldset' . drupal_attributes($element['#attributes']) . '>';
$output .= $element['#title'] ? '<legend>' . $element['#title'] . '</legend>' : '';
$output .= isset($element['#description']) && $element['#description'] ? '<div class="description">' . $element['#description'] . '</div>' : '';
$output .= !empty($element['#children']) ? $element['#children'] : '';
$output .= (isset($element['#value']) ? $element['#value'] : '') . "</fieldset>\n";
return $output;
}