@@ -24,16 +24,16 @@ require([
24
24
dayNamesMin: <?= /* @noEscape */ $ days ['abbreviated ' ] ?> ,
25
25
monthNames: <?= /* @noEscape */ $ months ['wide ' ] ?> ,
26
26
monthNamesShort: <?= /* @noEscape */ $ months ['abbreviated ' ] ?> ,
27
- infoTitle: "<?= /* @noEscape */ __ ('About the calendar ' ) ?> ",
28
- firstDay: <?= /* @noEscape */ $ firstDay ?> ,
29
- closeText: "<?= /* @noEscape */ __ ('Close ' ) ?> ",
30
- currentText: "<?= /* @noEscape */ __ ('Go Today ' ) ?> ",
31
- prevText: "<?= /* @noEscape */ __ ('Previous ' ) ?> ",
32
- nextText: "<?= /* @noEscape */ __ ('Next ' ) ?> ",
33
- weekHeader: "<?= /* @noEscape */ __ ('WK ' ) ?> ",
34
- timeText: "<?= /* @noEscape */ __ ('Time ' ) ?> ",
35
- hourText: "<?= /* @noEscape */ __ ('Hour ' ) ?> ",
36
- minuteText: "<?= /* @noEscape */ __ ('Minute ' ) ?> ",
27
+ infoTitle: "<?= $ block -> escapeJs ( __ ('About the calendar ' ) ) ?> ",
28
+ firstDay: <?= ( int ) $ firstDay ?> ,
29
+ closeText: "<?= $ block -> escapeJs ( __ ('Close ' ) ) ?> ",
30
+ currentText: "<?= $ block -> escapeJs ( __ ('Go Today ' ) ) ?> ",
31
+ prevText: "<?= $ block -> escapeJs ( __ ('Previous ' ) ) ?> ",
32
+ nextText: "<?= $ block -> escapeJs ( __ ('Next ' ) ) ?> ",
33
+ weekHeader: "<?= $ block -> escapeJs ( __ ('WK ' ) ) ?> ",
34
+ timeText: "<?= $ block -> escapeJs ( __ ('Time ' ) ) ?> ",
35
+ hourText: "<?= $ block -> escapeJs ( __ ('Hour ' ) ) ?> ",
36
+ minuteText: "<?= $ block -> escapeJs ( __ ('Minute ' ) ) ?> ",
37
37
dateFormat: $.datepicker.RFC_2822,
38
38
showOn: "button",
39
39
showAnim: "",
0 commit comments