X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=inventory%2Fmanage%2Flocations.php;h=bf36ac413d6d30931b6ce7d15734123aab5e83fc;hb=850b2dc645b7e16d6b2f5a5e10cac03d8956180c;hp=4b6d291c5333100adfca23f77d1af4c8a0123d53;hpb=e82fa1f01d7f0d7706b9d3e2efaa9a31cc0777f6;p=fa-stable.git diff --git a/inventory/manage/locations.php b/inventory/manage/locations.php index 4b6d291c..bf36ac41 100644 --- a/inventory/manage/locations.php +++ b/inventory/manage/locations.php @@ -1,5 +1,14 @@ . +***********************************************************************/ $page_security = 11; $path_to_root="../.."; include($path_to_root . "/includes/session.inc"); @@ -127,7 +136,7 @@ while ($myrow = db_fetch_row($result)) label_cell($myrow[0]); label_cell($myrow[1]); edit_button_cell("Edit".$myrow[0], _("Edit")); - edit_button_cell("Delete".$myrow[0], _("Delete")); + delete_button_cell("Delete".$myrow[0], _("Delete")); end_row(); } //END WHILE LIST LOOP @@ -143,6 +152,7 @@ start_form(); start_table($table_style2); +$_POST['email'] = ""; if ($selected_id != -1) { //editing an existing Location @@ -174,10 +184,10 @@ textarea_row(_("Address:"), 'delivery_address', null, 35, 5); text_row_ex(_("Telephone No:"), 'phone', 30, 30); text_row_ex(_("Facsimile No:"), 'fax', 30, 30); -text_row_ex(_("Email:"), 'email', 30, 30); +email_row_ex(_("E-mail:"), 'email', 30); end_table(1); -submit_add_or_update_center($selected_id == -1, '', true); +submit_add_or_update_center($selected_id == -1, '', 'both'); end_form();