Рефакторинг яваскриптов. Уборка jQuery.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user