| 1.20.x date.theme.inc | theme_date_popup($variables) | 
Format a date popup element.
Use a class that will float date and time next to each other.
Related topics
File
- modules/date/ date.theme.inc, line 444 
- Theme and preprocess functions for output by Date module.
Code
function theme_date_popup($variables) {
  $element = $variables['element'];
  // Wrap in a div with an ID for #states.
  if (isset($element['#children'])) {
    $element['#children'] = '<div id="' . $element['#id'] . '" class="container-inline-date">' . $element['#children'] . '</div>';
  }
  return theme('form_element', $element);
}