2
0
forked from Wavyzz/dolibarr

Fix with php-cs-fixer

This commit is contained in:
Laurent Destailleur
2023-12-04 12:05:17 +01:00
parent b5728632ef
commit be78ad6afd
2 changed files with 5 additions and 4 deletions

View File

@@ -175,8 +175,8 @@ jQuery(function($){
dayNamesMin: tradDaysMin,
weekHeader: '<?php echo $langs->trans("Week"); ?>',
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'); ?>,
isRTL: <?php echo ($langs->trans("DIRECTION") == 'rtl' ? 'true' : 'false'); ?>,
firstDay: <?php echo(isset($conf->global->MAIN_START_WEEK) ? $conf->global->MAIN_START_WEEK : '1'); ?>,
isRTL: <?php echo($langs->trans("DIRECTION") == 'rtl' ? 'true' : 'false'); ?>,
showMonthAfterYear: false, /* TODO add specific to country */
yearSuffix: '' /* TODO add specific to country */
};
@@ -1300,7 +1300,8 @@ $(document).ready(function() {
});
}
});
<?php } ?>
<?php
} ?>
jQuery(document).ready(function() {
// Force to hide menus when page is inside an iFrame so we can show any page into a dialog popup