X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fui_input.inc;h=9ae512b5910ed2111eef9d4fef0f1fdcecdf99fc;hb=5d3fcb9c57e586c20651594edf91a2dccb08df00;hp=0ffa0247a1cb688da9c5fa42a1f0c8516e314f1e;hpb=3a179c3c7d947efea18c1fb381b48d293b162499;p=fa-stable.git diff --git a/includes/ui/ui_input.inc b/includes/ui/ui_input.inc index 0ffa0247..9ae512b5 100644 --- a/includes/ui/ui_input.inc +++ b/includes/ui/ui_input.inc @@ -624,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 = ""; @@ -641,7 +645,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";