/[drupal]/contributions/modules/date/date/date_elements.inc
ViewVC logotype

Diff of /contributions/modules/date/date/date_elements.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.46.2.2.2.2, Fri Jun 6 13:30:31 2008 UTC revision 1.46.2.2.2.3, Tue Jun 17 10:41:07 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  //$Id: date_elements.inc,v 1.46.2.2.2.1 2008/05/28 10:10:40 karens Exp $  //$Id: date_elements.inc,v 1.46.2.2.2.2 2008/06/06 13:30:31 karens Exp $
3  /**  /**
4   * @file   * @file
5   * Date forms and form themes and validation.   * Date forms and form themes and validation.
# Line 283  function date_combo_process($element, $e Line 283  function date_combo_process($element, $e
283      '#date_label_position' => $field['widget']['label_position'],      '#date_label_position' => $field['widget']['label_position'],
284      );      );
285    
286    $element[$from_field]['#description'] .= ' '. t('Format: @date', array('@date' => date($element[$from_field]['#date_format'], time())));    if ($field['widget']['type'] != 'date_select') {
287        $element[$from_field]['#description'] .= ' '. t('Format: @date', array('@date' => date($element[$from_field]['#date_format'], time())));
288      }
289    
290    // Give this element the right type, using a Date API    // Give this element the right type, using a Date API
291    // or a Date Popup element type.    // or a Date Popup element type.

Legend:
Removed from v.1.46.2.2.2.2  
changed lines
  Added in v.1.46.2.2.2.3

  ViewVC Help
Powered by ViewVC 1.1.2