Added text_input() helper.
[fa-stable.git] / dimensions / dimension_entry.php
index 0777c2a3adc25f106dbb2fcacf0234e37522cbdb..7809bd1bb2f397307c936c4881302145849f8f5a 100644 (file)
@@ -14,7 +14,6 @@ $path_to_root = "..";
 include_once($path_to_root . "/includes/session.inc");
 
 include_once($path_to_root . "/includes/date_functions.inc");
-include_once($path_to_root . "/includes/manufacturing.inc");
 include_once($path_to_root . "/includes/data_checks.inc");
 
 include_once($path_to_root . "/admin/db/tags_db.inc");
@@ -22,7 +21,7 @@ include_once($path_to_root . "/dimensions/includes/dimensions_db.inc");
 include_once($path_to_root . "/dimensions/includes/dimensions_ui.inc");
 
 $js = "";
-if ($use_date_picker)
+if (user_use_date_picker())
        $js .= get_js_date_picker();
 page(_($help_context = "Dimension Entry"), false, false, "", $js);
 
@@ -223,7 +222,7 @@ if (isset($_POST['reopen']))
 
 start_form();
 
-start_table($table_style2);
+start_table(TABLESTYLE2);
 
 if ($selected_id != -1)
 {
@@ -307,4 +306,3 @@ end_form();
 
 end_page();
 
-?>