X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fui_input.inc;h=9ae512b5910ed2111eef9d4fef0f1fdcecdf99fc;hb=5d3fcb9c57e586c20651594edf91a2dccb08df00;hp=1b3eec45e6dee0323796f4b02e1b91c48563f488;hpb=7eb0da506fb25d46c9c63132dc42f5f5b31222c0;p=fa-stable.git diff --git a/includes/ui/ui_input.inc b/includes/ui/ui_input.inc index 1b3eec45..9ae512b5 100644 --- a/includes/ui/ui_input.inc +++ b/includes/ui/ui_input.inc @@ -37,6 +37,7 @@ function find_submit($prefix, $numeric=true) } return $numeric ? -1 : null; } + //------------------------------------------------------------------------------ // // Helper function for simple db table editor pages @@ -623,8 +624,12 @@ function date_cells($label, $name, $title = null, $check=null, $inc_days=0, } } if ($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"; $post_label = "" - . " \n"; + . " \n"; + } else $post_label = ""; @@ -633,15 +638,15 @@ function date_cells($label, $name, $title = null, $check=null, $inc_days=0, echo "