X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Fusers.php;h=57e4e405e7341418aa7f04652dc3b6858b15e8fc;hb=d5a2671f2139a11be1d327649e59bb4fc7b18bd1;hp=05e9adc973b406c414626dbd844f64d106a772da;hpb=ea52d139c2309cc07ec2e37155a3fe304471c0fc;p=fa-stable.git diff --git a/admin/users.php b/admin/users.php index 05e9adc9..57e4e405 100644 --- a/admin/users.php +++ b/admin/users.php @@ -1,5 +1,14 @@ . +***********************************************************************/ $page_security=15; $path_to_root=".."; include_once($path_to_root . "/includes/session.inc"); @@ -116,13 +125,13 @@ while ($myrow = db_fetch($result)) label_cell($myrow["user_id"]); label_cell($myrow["real_name"]); label_cell($myrow["phone"]); - label_cell($myrow["email"]); + email_cell($myrow["email"]); label_cell($last_visit_date, "nowrap"); label_cell($security_headings[$myrow["full_access"]]); edit_button_cell("Edit".$myrow["user_id"], _("Edit")); if (strcasecmp($myrow["user_id"], $_SESSION["wa_current_user"]->username) && $_SESSION["wa_current_user"]->access == 2) - edit_button_cell("Delete".$myrow["user_id"], _("Delete")); + delete_button_cell("Delete".$myrow["user_id"], _("Delete")); else label_cell(''); end_row(); @@ -137,6 +146,8 @@ echo '
'; start_form(); start_table($table_style2); + +$_POST['email'] = ""; if ($selected_id != '') { if ($Mode == 'Edit') { @@ -179,7 +190,7 @@ text_row_ex(_("Full Name").":", 'real_name', 50); text_row_ex(_("Telephone No.:"), 'phone', 30); -text_row_ex(_("Email Address:"), 'email', 50); +email_row_ex(_("Email Address:"), 'email', 50); security_headings_list_row(_("Access Level:"), 'Access', null);