mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-09 02:58:23 +01:00
Fix with php-cs-fixer
This commit is contained in:
@@ -175,8 +175,8 @@ jQuery(function($){
|
|||||||
dayNamesMin: tradDaysMin,
|
dayNamesMin: tradDaysMin,
|
||||||
weekHeader: '<?php echo $langs->trans("Week"); ?>',
|
weekHeader: '<?php echo $langs->trans("Week"); ?>',
|
||||||
dateFormat: '<?php echo $langs->trans("FormatDateShortJQuery"); ?>', /* Note dd/mm/yy means year on 4 digit in jquery format */
|
dateFormat: '<?php echo $langs->trans("FormatDateShortJQuery"); ?>', /* Note dd/mm/yy means year on 4 digit in jquery format */
|
||||||
firstDay: <?php echo (isset($conf->global->MAIN_START_WEEK) ? $conf->global->MAIN_START_WEEK : '1'); ?>,
|
firstDay: <?php echo(isset($conf->global->MAIN_START_WEEK) ? $conf->global->MAIN_START_WEEK : '1'); ?>,
|
||||||
isRTL: <?php echo ($langs->trans("DIRECTION") == 'rtl' ? 'true' : 'false'); ?>,
|
isRTL: <?php echo($langs->trans("DIRECTION") == 'rtl' ? 'true' : 'false'); ?>,
|
||||||
showMonthAfterYear: false, /* TODO add specific to country */
|
showMonthAfterYear: false, /* TODO add specific to country */
|
||||||
yearSuffix: '' /* TODO add specific to country */
|
yearSuffix: '' /* TODO add specific to country */
|
||||||
};
|
};
|
||||||
@@ -1300,7 +1300,8 @@ $(document).ready(function() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
<?php } ?>
|
<?php
|
||||||
|
} ?>
|
||||||
|
|
||||||
jQuery(document).ready(function() {
|
jQuery(document).ready(function() {
|
||||||
// Force to hide menus when page is inside an iFrame so we can show any page into a dialog popup
|
// Force to hide menus when page is inside an iFrame so we can show any page into a dialog popup
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ jQuery(function($){
|
|||||||
timeFormat: 'HH:mm',
|
timeFormat: 'HH:mm',
|
||||||
amNames: ['AM', 'A'],
|
amNames: ['AM', 'A'],
|
||||||
pmNames: ['PM', 'P'],
|
pmNames: ['PM', 'P'],
|
||||||
isRTL: <?php echo ($langs->trans("DIRECTION") == 'rtl' ? 'true' : 'false'); ?>
|
isRTL: <?php echo($langs->trans("DIRECTION") == 'rtl' ? 'true' : 'false'); ?>
|
||||||
};
|
};
|
||||||
$.timepicker.setDefaults($.timepicker.regional['<?php echo $langs->defaultlang ?>']);
|
$.timepicker.setDefaults($.timepicker.regional['<?php echo $langs->defaultlang ?>']);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user