function theme_date_part_minsec_prefix in Date 7.3
Same name and namespace in other branches
- 5.2 date_api_elements.inc \theme_date_part_minsec_prefix()
- 6.2 theme/theme.inc \theme_date_part_minsec_prefix()
- 6 date_api_elements.inc \theme_date_part_minsec_prefix()
- 7 date_api/theme/theme.inc \theme_date_part_minsec_prefix()
- 7.2 date_api/theme/theme.inc \theme_date_part_minsec_prefix()
Returns HTML for a 'minutes and seconds' date part prefix.
1 theme call to theme_date_part_minsec_prefix()
- date_parts_element in date_api/
date_api_elements.inc - Creates form elements for one or more date parts.
File
- date_api/
theme/ theme.inc, line 94 - Theme files for Date API.
Code
function theme_date_part_minsec_prefix($variables) {
$element = $variables['element'];
if ($element['#date_label_position'] != 'above') {
return '<span class="form-item date-spacer">:</span>';
}
}