From 8b36807a2e412ee4893dbacc001be6d0052738dd Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Fri, 20 Sep 2024 13:39:00 +0900 Subject: [PATCH] admin files updates --- www/admin/class_test.html.php | 1 + www/admin/class_test.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/www/admin/class_test.html.php b/www/admin/class_test.html.php index 824d662a..b02241b2 100644 --- a/www/admin/class_test.html.php +++ b/www/admin/class_test.html.php @@ -42,6 +42,7 @@ print '

' . $PAGE_NAME . '

'; $string = "Something < = > Other
Next line and Quotes '\""; echo "String:
$string

"; +$log->debug('HTMLENT', Html::htmlent($string)); print "HTMLENT: " . Html::htmlent($string) . ": " . $_html->htmlent($string) . " (" . htmlentities($string) . ")
"; print "REMOVELB: " . Html::htmlent($string) . ": " . $_html->removeLB($string) . "
"; $date_str = [2021, 5, 1, 11, 10]; diff --git a/www/admin/class_test.php b/www/admin/class_test.php index 9dfa7b98..315effd3 100644 --- a/www/admin/class_test.php +++ b/www/admin/class_test.php @@ -178,7 +178,7 @@ $log->debug('SOME MARK', 'Some error output'); print "EDIT ACCESS ID: " . $backend->edit_access_id . "
"; if (is_object($login)) { // print "ACL:
".$backend->print_ar($login->loginGetAcl())."
"; - $log->debug('ACL', "ACL: " . \CoreLibs\Debug\Support::dumpVar($login->loginGetAcl())); + // $log->debug('ACL', "ACL: " . \CoreLibs\Debug\Support::dumpVar($login->loginGetAcl())); // print "DEFAULT ACL:
".$backend->print_ar($login->default_acl_list)."
"; // print "DEFAULT ACL:
".$backend->print_ar($login->default_acl_list)."
"; // $result = array_flip(