From ae6cd6df390ee9272ea19459da9a28f0fb97fabb Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Sun, 25 May 2014 18:07:07 +0200 Subject: [PATCH] minor fixes and more info in usermgmt added --- TODO.txt | 2 +- web/Obj/brisk.phh | 2 +- web/usermgmt.php | 23 ++++++++++++++++------- 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/TODO.txt b/TODO.txt index f529897..5c96cc9 100644 --- a/TODO.txt +++ b/TODO.txt @@ -71,7 +71,7 @@ with password ------------------------------------------------------------------------- - . More user info in the list + DONE . More user info in the list DONE . Manage date to display when a user was required . Email-address expiration check . Account expiration diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index c3cb777..6a9547d 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -509,7 +509,7 @@ function escinput($s) function eschtml($s) { - return htmlentities($s); + return htmlentities($s, ENT_COMPAT, "UTF-8"); } function esclfhtml($s) diff --git a/web/usermgmt.php b/web/usermgmt.php index 413e173..4741ec5 100644 --- a/web/usermgmt.php +++ b/web/usermgmt.php @@ -228,15 +228,19 @@ SELECT usr.*, guar.login AS guar_login break; } $usr_n = pg_numrows($usr_pg); - $tab_lines = ""; + $tab_lines = "UserGuarDate"; for ($i = 0 ; $i < $usr_n ; $i++) { $usr_obj = pg_fetch_object($usr_pg, $i); - $tab_lines .= sprintf("%s\n", - $usr_obj->code, eschtml($usr_obj->login), eschtml($usr_obj->guar_login)); + $tab_lines .= sprintf("%s%s%s\n", + $usr_obj->code, eschtml($usr_obj->login), eschtml($usr_obj->guar_login), $usr_obj->lintm); } ?> + + +Brisk: new imported users management. +

New imported users management.

@@ -355,15 +359,20 @@ SELECT usr.*, guar.login AS guar_login } $usr_n = pg_numrows($usr_pg); - $tab_lines = ""; + $tab_lines = "UserGuarDate"; for ($i = 0 ; $i < $usr_n ; $i++) { $usr_obj = pg_fetch_object($usr_pg, $i); - $tab_lines .= sprintf("%s\n", - $usr_obj->code, eschtml($usr_obj->login), eschtml($usr_obj->guar_login)); + $tab_lines .= sprintf("%s%s%s\n", + $usr_obj->code, eschtml($usr_obj->login), eschtml($usr_obj->guar_login), + $usr_obj->lintm); } ?> + + +Brisk: email verified user management. +

E-mail verified user management.

@@ -386,4 +395,4 @@ SELECT usr.*, guar.login AS guar_login main(); -?> \ No newline at end of file +?> -- 2.17.1