From: Matteo Nastasi (mop) Date: Sun, 25 May 2014 16:07:07 +0000 (+0200) Subject: minor fixes and more info in usermgmt added X-Git-Tag: v4.14.2~1 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=ae6cd6df390ee9272ea19459da9a28f0fb97fabb;p=brisk.git minor fixes and more info in usermgmt added --- 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 +?>