mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-19 14:57:55 -05:00
- Made view CI form helper function call format uniform.
- replaced calls to array() with []
- Placed { on its own line
- Removed empty lines where there shouldn't be any.
- Replaced text/javascript with application/javascript as the former is deprecated
18 lines
357 B
PHP
18 lines
357 B
PHP
<script type="application/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>
|