<?php
-
+/**********************************************************************
+ Copyright (C) FrontAccounting, LLC.
+ Released under the terms of the GNU Affero General Public License,
+ AGPL, as published by the Free Software Foundation, either version
+ 3 of the License, or (at your option) any later version.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License here <http://www.gnu.org/licenses/agpl-3.0.html>.
+***********************************************************************/
$page_security = 11;
$path_to_root="../..";
include($path_to_root . "/includes/session.inc");
{
delete_item_location($selected_id);
display_notification(_('Selected location has been deleted'));
- $Mode = 'RESET';
} //end if Delete Location
+ $Mode = 'RESET';
}
if ($Mode == 'RESET')
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
start_table($table_style2);
+$_POST['email'] = "";
if ($selected_id != -1)
{
//editing an existing Location
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);