X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fui%2Fui_input.inc;h=c1091b3702c63a76df24ae2e5c621167fd64578a;hb=3b06c6c4718610a408cae2e9b76c3134ca30b84c;hp=7929d07169ad8c2b7e06b197af6e9d5634204a9b;hpb=2ea80171e9ca02c6c184bd828f76ff0a7ad78c32;p=fa-stable.git diff --git a/includes/ui/ui_input.inc b/includes/ui/ui_input.inc index 7929d071..c1091b37 100644 --- a/includes/ui/ui_input.inc +++ b/includes/ui/ui_input.inc @@ -114,6 +114,7 @@ function hidden($name, $value=null, $echo=true) 'cancel' - cancel form entry on Escape press; dflt ICON_CANCEL 'process' - displays progress bar during call; optional icon 'nonajax' - ditto, non-ajax submit + $atype can contain also multiply type selectors separated by space, however make sense only combination of 'process' and one of defualt/selector/cancel */ @@ -605,7 +606,7 @@ function link_row_ex($label, $name, $size, $max=null, $title=null, $value=null, function date_cells($label, $name, $title = null, $check=null, $inc_days=0, $inc_months=0, $inc_years=0, $params=null, $submit_on_change=false) { - global $use_date_picker, $path_to_root, $Ajax; + global $path_to_root, $Ajax; if (!isset($_POST[$name]) || $_POST[$name] == "") { @@ -623,7 +624,7 @@ function date_cells($label, $name, $title = null, $check=null, $inc_days=0, $_POST[$name] = $dd; } } - if ($use_date_picker) + if (user_use_date_picker()) { $calc_image = (file_exists("$path_to_root/themes/".user_theme()."/images/cal.gif")) ? "$path_to_root/themes/".user_theme()."/images/cal.gif" : "$path_to_root/themes/default/images/cal.gif"; @@ -645,7 +646,8 @@ function date_cells($label, $name, $title = null, $check=null, $inc_days=0, $aspect .= ' style="color:#FF0000"'; default_focus($name); - echo "3)?11:10; + echo " $post_label"; echo "\n"; @@ -889,7 +891,7 @@ function inactive_control_cell($id, $value, $table, $key) get_post('Update')) && (check_value('Inactive'.$id) != $value)) { update_record_status($id, !$value, $table, $key); } - echo '