Subida del módulo y tema de PrestaShop

This commit is contained in:
Kaloyan
2026-04-09 18:31:51 +02:00
parent 12c253296f
commit 16b3ff9424
39262 changed files with 7418797 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
<?php
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,28 @@
document.addEventListener("DOMContentLoaded", async function() {
function i() {
const r = "ps_accounts/views/js/notifications.js", t = document.querySelectorAll("script");
let n = null;
if (t.forEach((e) => {
e.src.includes(r) && (n = e);
}), n) {
const e = n.src;
return new URL(e).searchParams;
}
return null;
}
async function s(r) {
return await fetch(r, {
method: "GET"
}).then((t) => t.json()).then((t) => t).catch((t) => (console.error("Error:", t), null));
}
function a(r, t) {
r.forEach((n) => {
const e = document.createElement("div");
e.innerHTML = n == null ? void 0 : n.html, t.prepend(e);
});
}
const c = document.querySelector("#main-div .content-div, #main #content");
if (!c) return;
const o = i();
o && a(await s(o.get("ctx") || ""), c);
});