Fixed date localization + updated dependencies
This commit is contained in:
parent
d5730eec3c
commit
b7ff480e17
4 changed files with 62 additions and 44 deletions
|
|
@ -18,7 +18,7 @@
|
|||
<script src="<?php print APP_URL; ?>assets/vendor/admin-lte/plugins/jQuery/jquery-2.2.3.min.js"></script>
|
||||
<script src="<?php print APP_URL; ?>assets/js/class.js"></script>
|
||||
<script src="<?php print APP_URL; ?>assets/vendor/sprintf-js/dist/sprintf.min.js"></script>
|
||||
<script src="<?php print APP_URL; ?>assets/vendor/admin-lte/plugins/daterangepicker/moment.min.js"></script>
|
||||
<script src="<?php print APP_URL; ?>assets/vendor/moment/min/moment-with-locales.min.js"></script>
|
||||
<script src="<?php print APP_URL; ?>assets/js/app.js" type="text/javascript"></script>
|
||||
</head>
|
||||
<body class="hold-transition skin-black layout-top-nav">
|
||||
|
|
|
|||
|
|
@ -17,20 +17,20 @@
|
|||
<link href="<?php print APP_URL; ?>assets/vendor/ion-icons/css/ionicons.min.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
<script>
|
||||
var APP_URL = '<?php print APP_URL; ?>';
|
||||
var LANGUAGE = <?php print json_encode(Lang::getLanguage()); ?>;
|
||||
var APP_URL = '<?= APP_URL; ?>';
|
||||
var LANGUAGE = '<?= Lang::getLanguage(); ?>';
|
||||
|
||||
<?php if (defined('JSON_UNESCAPED_UNICODE')): ?>
|
||||
var STRINGS = <?php print json_encode(Lang::getStrings(), JSON_UNESCAPED_UNICODE); ?>;
|
||||
var STRINGS = <?= json_encode(Lang::getStrings(), JSON_UNESCAPED_UNICODE); ?>;
|
||||
<?php else: ?>
|
||||
var STRINGS = <?php print json_encode(Lang::getStrings()); ?>;
|
||||
var STRINGS = <?= json_encode(Lang::getStrings()); ?>;
|
||||
<?php endif; ?>
|
||||
</script>
|
||||
|
||||
<script src="<?php print APP_URL; ?>assets/vendor/admin-lte/plugins/jQuery/jquery-2.2.3.min.js"></script>
|
||||
<script src="<?php print APP_URL; ?>assets/js/class.js"></script>
|
||||
<script src="<?php print APP_URL; ?>assets/vendor/sprintf-js/dist/sprintf.min.js"></script>
|
||||
<script src="<?php print APP_URL; ?>assets/vendor/admin-lte/plugins/daterangepicker/moment.min.js"></script>
|
||||
<script src="<?php print APP_URL; ?>assets/vendor/moment/min/moment-with-locales.min.js"></script>
|
||||
<script src="<?php print APP_URL; ?>assets/js/app.js" type="text/javascript"></script>
|
||||
|
||||
</head>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue