1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-09 08:06:59 +02:00

lang() function instead of h()

This commit is contained in:
Andrea
2020-02-24 00:37:55 +01:00
committed by GitHub
parent 679c602b6b
commit 80747e0da8

View File

@@ -46,7 +46,7 @@ class AdminerFkDisable
}
domReady(() => {
document.querySelectorAll('#form p')[1].insertAdjacentHTML('beforeend', '<label><input type="checkbox" name="fk_disable" value="1" <?= $fk_disable_checked ?> /><?= h('Disable Foreign Keys') ?></label>')
document.querySelectorAll('#form p')[1].insertAdjacentHTML('beforeend', '<label><input type="checkbox" name="fk_disable" value="1" <?= $fk_disable_checked ?> /><?= lang('Disable Foreign Keys') ?></label>')
})
</script>