You are here

function theme_date_part_minsec_prefix in Date 6.2

Same name and namespace in other branches
  1. 5.2 date_api_elements.inc \theme_date_part_minsec_prefix()
  2. 6 date_api_elements.inc \theme_date_part_minsec_prefix()
  3. 7.3 date_api/theme/theme.inc \theme_date_part_minsec_prefix()
  4. 7 date_api/theme/theme.inc \theme_date_part_minsec_prefix()
  5. 7.2 date_api/theme/theme.inc \theme_date_part_minsec_prefix()
1 theme call to theme_date_part_minsec_prefix()
date_parts_element in ./date_api_elements.inc
Create form elements for one or more date parts.

File

theme/theme.inc, line 337
Theme functions for Date.

Code

function theme_date_part_minsec_prefix($element) {
  if ($element['#date_label_position'] != 'above') {
    return '<span class="form-item date-spacer">:</span>';
  }
}