Explorar o código

Updated DB Schemata + reverted escape HTML of alert boxes

DerLinkman %!s(int64=2) %!d(string=hai) anos
pai
achega
aa7888c37d
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      data/web/inc/init_db.inc.php
  2. 1 1
      data/web/js/build/015-mailcow.js

+ 1 - 1
data/web/inc/init_db.inc.php

@@ -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 - 1
data/web/js/build/015-mailcow.js

@@ -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');