X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fui_input.inc;h=04933bd68682dba3eea346740527feeb836883bd;hb=3f3cfa578adbc2b71f4fd9c8d0f5536d26af43d8;hp=e252c8b136165c079853fe5816aed1df221267ac;hpb=231f4c00e32dd026d3d740d32bbdaf841ab68330;p=fa-stable.git
diff --git a/includes/ui/ui_input.inc b/includes/ui/ui_input.inc
index e252c8b1..04933bd6 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
@@ -624,8 +625,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 = "";
@@ -634,15 +639,14 @@ function date_cells($label, $name, $title = null, $check=null, $inc_days=0,
echo "