diff --git a/admin/displayappointments.php b/admin/displayappointments.php
index ea1f7e22..4594e3dc 100644
--- a/admin/displayappointments.php
+++ b/admin/displayappointments.php
@@ -152,7 +152,10 @@ if (isset($_GET['appointment_id']) && isset($_GET['case_id']))
else
{
//Display an edit form
- xhtml_head(T_("Edit appointment"));
+ $css = array("../css/timepicker.css","../include/jquery-ui/css/smoothness/jquery-ui-1.8.2.custom.css");
+ $js = array("../include/jquery-ui/js/jquery-1.4.2.min.js","../include/jquery-ui/js/jquery-ui-1.8.2.custom.min.js","../include/timepicker/jquery-ui-timepicker-addon.js");
+ xhtml_head(T_("Edit appointment"),false,$css,$js);
+ print "";
$sql = "SELECT a.contact_phone_id,a.call_attempt_id,CONVERT_TZ(a.start,'UTC',r.Time_zone_name) as start,CONVERT_TZ(a.end,'UTC',r.Time_zone_name) as end,a.respondent_id
FROM appointment as a, respondent as r
diff --git a/admin/index.php b/admin/index.php
index 00e99156..d04bcd8d 100644
--- a/admin/index.php
+++ b/admin/index.php
@@ -44,7 +44,7 @@ include ("../config.inc.php");
*/
include ("../functions/functions.xhtml.php");
-xhtml_head(T_("Administrative Tools"),true,array("../css/table.css","../css/admin.css"));
+xhtml_head(T_("Administrative Tools"),true,array("../css/table.css","../css/admin.css","../css/timepicker.css"));
print "