X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fui_view.inc;h=9f0e445092c0f99f8ad9eb1965788eed1fb705f3;hb=debb4ba801f7bac134d8a1925ad5bf5b9dc4a785;hp=f34a443b47a45205922ffd9aa7d4acbba3fec8bf;hpb=7a50c189ea995d5fe6785feb7710c00396065d2b;p=fa-stable.git diff --git a/includes/ui/ui_view.inc b/includes/ui/ui_view.inc index f34a443b..9f0e4450 100644 --- a/includes/ui/ui_view.inc +++ b/includes/ui/ui_view.inc @@ -1066,29 +1066,73 @@ document.write(\"
\"); "; return $js; } +// +// Javascript conversions to/from user numeric format. +// +function add_js_user_num() { + global $thoseps, $decseps; + $ts = $thoseps[user_tho_sep()]; + $ds = $decseps[user_dec_sep()]; + + $js = + ""; + add_js_source($js); +} -function get_js_allocate() { - return ""; + add_js_user_num(); + add_js_source($source); } function alert($msg) @@ -1113,17 +1157,4 @@ if (!function_exists('_vd')) } } -/* ************************************** Backward compatible */ -function do_clone($object) -{ - if (version_compare(phpversion(), '5.0') < 0) - { - return $object; - } - else - { - return @clone($object); - } -} - ?> \ No newline at end of file