После проверки на ИБ

This commit is contained in:
2025-07-17 18:45:40 +05:00
parent 65fe6498cd
commit e7a712af02
11 changed files with 112 additions and 2908 deletions

View File

@ -38,7 +38,7 @@ class DBMSUser
{
if(findNode(node,'#cdata-section').nodeValue=="0") //if not logged
{
this.showLoginForm();
//this.showLoginForm();
}else
{
this.name=getCdataValue(findNode(node,'name'));
@ -86,7 +86,7 @@ class DBMSUser
};
//Display login and registration form
showLoginForm()
/*showLoginForm()
{
if(this.win==null || this.win.closed)
{
@ -152,17 +152,18 @@ class DBMSUser
};
}
}
};
};*/
//logout current user
Logout()
/*Logout()
{
xs='<?xml version="1.0" encoding="utf-8"?><metadata fn="7"><cmd><![CDATA[1]]></cmd></metadata>';
var request=new TRequest(this);
let xs='<?xml version="1.0" encoding="utf-8"?><metadata fn="7"><cmd><![CDATA[1]]></cmd></metadata>';
let request=new TRequest(this);
if(request.callServer(ScriptName,xs))
{
this.showShadow();
}
};
};*/
showLock(visible) {
if(this.divsh==null) {
@ -177,7 +178,7 @@ class DBMSUser
}
//Checking the session without its extension, if it is completed, we display the authorization window.
checkSession()
/*checkSession()
{
$.ajax({
url: '../session',
@ -205,7 +206,7 @@ class DBMSUser
}
});
setTimeout(()=>this.checkSession(), 10000);
};
};*/
showShadow(visible)
{