X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=inline;f=includes%2Fui%2Fui_input.inc;h=5c0cacd163818dde63bb504fb98c88d990357d2e;hb=168c5beaa04a25f31face788f8030c5d08f8e998;hp=1b3eec45e6dee0323796f4b02e1b91c48563f488;hpb=7eb0da506fb25d46c9c63132dc42f5f5b31222c0;p=fa-stable.git diff --git a/includes/ui/ui_input.inc b/includes/ui/ui_input.inc index 1b3eec45..5c0cacd1 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 "