first commit

This commit is contained in:
2025-05-26 16:15:30 +04:00
commit a6b05d6789
6059 changed files with 495628 additions and 0 deletions

14
crm/hmcontextids.js Normal file
View File

@ -0,0 +1,14 @@
var hmContextIds = new Array();
function hmGetContextId(query) {
var urlParams;
var match,
pl = /\+/g,
search = /([^&=]+)=?([^&]*)/g,
decode = function (s) { return decodeURIComponent(s.replace(pl, " ")); },
params = {};
while (match = search.exec(query))
params[decode(match[1])] = decode(match[2]);
if (params["contextid"]) return decodeURIComponent(hmContextIds[params["contextid"]]);
else return "";
}