Updated DB Schemata + reverted escape HTML of alert boxes
This commit is contained in:
parent
ea1eb48596
commit
aa7888c37d
@ -3,7 +3,7 @@ function init_db_schema() {
|
|||||||
try {
|
try {
|
||||||
global $pdo;
|
global $pdo;
|
||||||
|
|
||||||
$db_version = "17112022_2115";
|
$db_version = "23122022_1445";
|
||||||
|
|
||||||
$stmt = $pdo->query("SHOW TABLES LIKE 'versions'");
|
$stmt = $pdo->query("SHOW TABLES LIKE 'versions'");
|
||||||
$num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
|
$num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
// mailcow alert box generator
|
// mailcow alert box generator
|
||||||
window.mailcow_alert_box = function(message, type) {
|
window.mailcow_alert_box = function(message, type) {
|
||||||
msg = $('<span/>').text(escapeHtml(message)).text();
|
msg = $('<span/>').text(message).text();
|
||||||
if (type == 'danger' || type == 'info') {
|
if (type == 'danger' || type == 'info') {
|
||||||
auto_hide = 0;
|
auto_hide = 0;
|
||||||
$('#' + localStorage.getItem("add_modal")).modal('show');
|
$('#' + localStorage.getItem("add_modal")).modal('show');
|
||||||
|
Loading…
Reference in New Issue
Block a user