From: Matteo Nastasi (mop) Date: Fri, 6 Nov 2015 12:34:38 +0000 (+0100) Subject: usrmgmt: add email to users X-Git-Tag: v5.3.0~58 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=87945481a4d1145fdb715c408c7a7e46d748e6dc;p=brisk.git usrmgmt: add email to users --- diff --git a/TODO.txt b/TODO.txt index 321039a..9818d86 100644 --- a/TODO.txt +++ b/TODO.txt @@ -24,6 +24,8 @@ - Remove books from chat - Not triple chars between letters - 10002 message when already clicked + - usermgmt: add user delete + DONE - usermgmt: add email --------- diff --git a/web/usermgmt.php b/web/usermgmt.php index 5dfc9ff..3f52c36 100644 --- a/web/usermgmt.php +++ b/web/usermgmt.php @@ -512,13 +512,13 @@ SELECT usr.*, guar.login AS guar_login } $usr_n = pg_numrows($usr_pg); - $tab_lines = "UserGuarApprendiceDate"; + $tab_lines = "UserEMailGuarApprendiceDate"; for ($i = 0 ; $i < $usr_n ; $i++) { $usr_obj = pg_fetch_object($usr_pg, $i); - $tab_lines .= sprintf("%s%s%s%s\n", + $tab_lines .= sprintf("%s%s%s%s%s\n", $usr_obj->code, ($nocheck ? "" : "CHECKED"), - eschtml($usr_obj->login), eschtml($usr_obj->guar_login), + eschtml($usr_obj->login), eschtml($usr_obj->email), eschtml($usr_obj->guar_login), ($usr_obj->type & USER_FLAG_TY_APPR ? "Yes" : "No"), $usr_obj->lintm); }