X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=inline;f=includes%2Fui%2Fui_input.inc;h=a6537a83c8bd2a06ae407c980154ecaf1a6f3a6a;hb=53d942f2a0d20cce5e9c409c6485867ce0869e4d;hp=e252c8b136165c079853fe5816aed1df221267ac;hpb=90b3d069d96b99671af51726e2953352738abb75;p=fa-stable.git
diff --git a/includes/ui/ui_input.inc b/includes/ui/ui_input.inc
index e252c8b1..a6537a83 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,15 @@ function date_cells($label, $name, $title = null, $check=null, $inc_days=0,
echo "