mirror of
https://github.com/openvk/openvk
synced 2025-07-07 00:09:48 +03:00
pheecks ksss
This commit is contained in:
parent
8b857b9f15
commit
d247ad11ec
1 changed files with 2 additions and 2 deletions
|
@ -134,7 +134,7 @@
|
||||||
<script>
|
<script>
|
||||||
function banClub() {
|
function banClub() {
|
||||||
let name = {$club->getName()}
|
let name = {$club->getName()}
|
||||||
let body = tr("ban_group_desc", {$club->getName()})
|
let body = tr("ban_group_desc", escapeHtml(name))
|
||||||
let num = {$club->getId()}
|
let num = {$club->getId()}
|
||||||
body += `
|
body += `
|
||||||
<br>
|
<br>
|
||||||
|
@ -143,7 +143,7 @@
|
||||||
<br><input type="checkbox" value="1" id="unsub_everyone" name="unsub_everyone"><label for="unsub_everyone"> ` + tr('unsubscribe_everyoune') + `</label>`
|
<br><input type="checkbox" value="1" id="unsub_everyone" name="unsub_everyone"><label for="unsub_everyone"> ` + tr('unsubscribe_everyoune') + `</label>`
|
||||||
|
|
||||||
|
|
||||||
MessageBox({_ban_group} + " " + {$club->getName()}, body, [{_ok}, {_cancel}], [
|
MessageBox({_ban_group} + " " + escapeHtml(name), body, [{_ok}, {_cancel}], [
|
||||||
(function() {
|
(function() {
|
||||||
let xhr = new XMLHttpRequest()
|
let xhr = new XMLHttpRequest()
|
||||||
xhr.open("POST", "/admin/clubs/id" + num + "/ban" + "?hash=" + {rawurlencode($csrfToken)}, true);
|
xhr.open("POST", "/admin/clubs/id" + num + "/ban" + "?hash=" + {rawurlencode($csrfToken)}, true);
|
||||||
|
|
Loading…
Reference in a new issue