security update core+modules
This commit is contained in:
@@ -18,7 +18,7 @@ Timepicker
|
||||
================================================================================
|
||||
|
||||
There are three ways to let users select time in the Date Popup widgets.
|
||||
You can choose between them by going to admin/config/content/date_popup.
|
||||
You can choose between them by going to admin/config/date/date_popup.
|
||||
|
||||
The options are:
|
||||
|
||||
@@ -99,10 +99,10 @@ Example:
|
||||
|
||||
$form['date'] = array(
|
||||
'#type' => 'date_popup',
|
||||
'#default_value' => '2007-01-01 10:30:00,
|
||||
'#default_value' => '2007-01-01 10:30:00',
|
||||
'#date_type' => DATE_DATETIME,
|
||||
'#date_timezone' => date_default_timezone(),
|
||||
'#date_format' => 'm/d/Y - H:i',
|
||||
'#date_format' => 'm-d-Y H:i',
|
||||
'#date_increment' => 1,
|
||||
'#date_year_range' => '-3:+3',
|
||||
);
|
||||
|
@@ -7,9 +7,9 @@ configure = admin/config/date/date_popup
|
||||
|
||||
stylesheets[all][] = themes/datepicker.1.7.css
|
||||
|
||||
; Information added by drupal.org packaging script on 2012-09-30
|
||||
version = "7.x-2.6+2-dev"
|
||||
; Information added by Drupal.org packaging script on 2014-07-29
|
||||
version = "7.x-2.8"
|
||||
core = "7.x"
|
||||
project = "date"
|
||||
datestamp = "1348964349"
|
||||
datestamp = "1406653438"
|
||||
|
||||
|
@@ -87,7 +87,7 @@ function date_popup_library() {
|
||||
$path . '/jquery.timeentry.pack.js' => array(),
|
||||
),
|
||||
'css' => array(
|
||||
$path . '/themes/jquery.timeentry.css' => array('preprocess' => FALSE),
|
||||
$path . '/themes/jquery.timeentry.css' => array(),
|
||||
),
|
||||
);
|
||||
return $libraries;
|
||||
@@ -352,7 +352,8 @@ function date_popup_process_date_part(&$element) {
|
||||
$parents = array_merge($element['#parents'], array('date'));
|
||||
$sub_element = array(
|
||||
'#type' => 'textfield',
|
||||
'#title' => $element['#date_label_position'] == 'above' ? theme('date_part_label_date', array('part_type' => 'date', 'element' => $element)) : '',
|
||||
'#title' => theme('date_part_label_date', array('part_type' => 'date', 'element' => $element)),
|
||||
'#title_display' => $element['#date_label_position'] == 'above' ? 'before' : 'invisible',
|
||||
'#default_value' => $element['#value']['date'],
|
||||
'#id' => $id,
|
||||
'#input' => FALSE,
|
||||
@@ -427,7 +428,8 @@ function date_popup_process_time_part(&$element) {
|
||||
$parents = array_merge($element['#parents'], array('time'));
|
||||
$sub_element = array(
|
||||
'#type' => 'textfield',
|
||||
'#title' => $element['#date_label_position'] == 'above' ? theme('date_part_label_time', array('part_type' => 'time', 'element' => $element)) : '',
|
||||
'#title' => theme('date_part_label_time', array('part_type' => 'time', 'element' => $element)),
|
||||
'#title_display' => $element['#date_label_position'] == 'above' ? 'before' : 'invisible',
|
||||
'#default_value' => $element['#value']['time'],
|
||||
'#id' => $id,
|
||||
'#size' => 15,
|
||||
|
Reference in New Issue
Block a user