Icon for date/time picker
This commit is contained in:
@@ -978,13 +978,16 @@ foreach ($rows as $row_id => $vrow) {
|
|||||||
//<![CDATA[
|
//<![CDATA[
|
||||||
$(function() {
|
$(function() {
|
||||||
$('#field_<?php echo ($idindex); ?>_3').datepicker({
|
$('#field_<?php echo ($idindex); ?>_3').datepicker({
|
||||||
duration: '',
|
showOn: 'button',
|
||||||
time24h: true,
|
buttonImage: '<?php echo $GLOBALS['pmaThemeImage'] . 'b_calendar.png'; ?>',
|
||||||
stepMinutes: 1,
|
buttonImageOnly: true,
|
||||||
|
duration: '',
|
||||||
|
time24h: true,
|
||||||
|
stepMinutes: 1,
|
||||||
stepHours: 1,
|
stepHours: 1,
|
||||||
<?php echo ($field['pma_type'] == 'date' ? "showTime: false,":"showTime: true,"); ?>
|
<?php echo ($field['pma_type'] == 'date' ? "showTime: false,":"showTime: true,"); ?>
|
||||||
dateFormat: 'yy-mm-dd',
|
dateFormat: 'yy-mm-dd',
|
||||||
altTimeField: '',
|
altTimeField: '',
|
||||||
constrainInput: false
|
constrainInput: false
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@@ -211,6 +211,9 @@ if (!isset($param) || $param[0] == '') {
|
|||||||
//<![CDATA[
|
//<![CDATA[
|
||||||
$(function() {
|
$(function() {
|
||||||
$('#field_<?php echo $i; ?>').datepicker({
|
$('#field_<?php echo $i; ?>').datepicker({
|
||||||
|
showOn: 'button',
|
||||||
|
buttonImage: '<?php echo $GLOBALS['pmaThemeImage'] . 'b_calendar.png'; ?>',
|
||||||
|
buttonImageOnly: true,
|
||||||
duration: '',
|
duration: '',
|
||||||
time24h: true,
|
time24h: true,
|
||||||
stepMinutes: 1,
|
stepMinutes: 1,
|
||||||
|
Reference in New Issue
Block a user