function theme_views_fieldsets_simple in Views fieldsets 7.2
Theme function for 'views_fieldsets_simple'.
File
- ./
views_fieldsets.api.php, line 74
Code
function theme_views_fieldsets_simple($variables) {
$content = implode("\n", array_map(function ($field) {
return $field->separator . $field->wrapper_prefix . $field->label_html . $field->content . $field->wrapper_suffix;
}, $variables['fieldset_fields']));
$html = '<fieldset>';
$html .= '<legend>' . check_plain(strip_tags($variables['legend'])) . '</legend>';
$html .= check_plain(strip_tags($content));
// Wrap this in $href maybe?
$html .= '</fieldset>';
return $html;
}