refactor(web): progress on regExp & dateTimeFormat from server

This commit is contained in:
Zack Spear
2023-09-27 19:34:53 -07:00
committed by Zack Spear
parent 422b93495a
commit 41d6ebe536
11 changed files with 106 additions and 25 deletions

View File

@@ -41,6 +41,10 @@ $serverState = [
"connectPluginInstalled" => $connectPluginInstalled,
"connectPluginVersion" => $connectPluginVersion,
"csrf" => $var['csrf_token'],
"dateTimeFormat" => [
"date" => $var['date_format'],
"time" => $var['time_format'],
],
"description" => $var['COMMENT'] ? htmlspecialchars($var['COMMENT']) : '',
"deviceCount" => $var['deviceCount'],
"email" => $myservers['remote']['email'] ?? '',