Icon for date/time picker

This commit is contained in:
Adnan
2011-01-13 10:33:32 -05:00
committed by Marc Delisle
parent 9b864bce9d
commit a56b1da3f4
2 changed files with 10 additions and 4 deletions

View File

@@ -978,13 +978,16 @@ foreach ($rows as $row_id => $vrow) {
//<![CDATA[
$(function() {
$('#field_<?php echo ($idindex); ?>_3').datepicker({
duration: '',
time24h: true,
stepMinutes: 1,
showOn: 'button',
buttonImage: '<?php echo $GLOBALS['pmaThemeImage'] . 'b_calendar.png'; ?>',
buttonImageOnly: true,
duration: '',
time24h: true,
stepMinutes: 1,
stepHours: 1,
<?php echo ($field['pma_type'] == 'date' ? "showTime: false,":"showTime: true,"); ?>
dateFormat: 'yy-mm-dd',
altTimeField: '',
altTimeField: '',
constrainInput: false
});
});