mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-19 23:07:57 -05:00
- Replaced TRUE/FALSE constants with true/false keywords - Replaced NULL constant with null keyword - Replaced `<?php echo` in views with shortened `<?=` - Added missing variable declaration - Added missing function return type in declaration - replaced `== true`, `== false`, `=== true` and `=== false` in if statements with simplified forms
18 lines
350 B
PHP
18 lines
350 B
PHP
<script type="text/javascript">
|
|
(function(lang, $) {
|
|
|
|
var lines = {
|
|
'common_submit' : "<?= lang('Common.submit') ?>",
|
|
'common_close' : "<?= lang('Common.close') ?>"
|
|
};
|
|
|
|
$.extend(lang, {
|
|
line: function(key) {
|
|
return lines[key];
|
|
}
|
|
});
|
|
|
|
|
|
})(window.lang = window.lang || {}, jQuery);
|
|
</script>
|