Рефакторинг яваскриптов. Уборка jQuery.

This commit is contained in:
2024-05-10 15:59:04 +03:00
parent 023d9856ea
commit f3d475a0b8
2 changed files with 55 additions and 30 deletions
+3 -2
View File
@@ -1525,13 +1525,14 @@ JS;
$jstext = json_encode($log['text']);
$jsvars = json_encode($log['vars']);
$js = "add_log({$log['id']},$jstext,{$log['id_hod']},$jsvars)" . $js;
$js = "add_log({$log['id']},$jstext,{$log['id_hod']},$jsvars);" . $js;
}
Db::sql('update stats set alog = ? where id = ?', [$u->info['alog'], $u->info['id']]);
$js .= "id_log=$pll;";
return htmlspecialchars($js, ENT_QUOTES);
//return htmlspecialchars($js, ENT_QUOTES);
return $js;
}