Initial commit: is_themecore out of the box v4.1.3

This commit is contained in:
Isabelle Anno
2025-11-19 13:17:30 +01:00
committed by Isabelle
commit 5d80babd5a
333 changed files with 33026 additions and 0 deletions

View File

@ -0,0 +1,35 @@
<?php
use Oksydan\Module\IsThemeCore\Core\ListingDisplay\ThemeListDisplay;
class Is_themecoreAjaxThemeModuleFrontController extends ModuleFrontController
{
public $displayType;
public function init()
{
parent::init();
$this->displayType = Tools::getValue('displayType');
}
public function initContent()
{
parent::initContent();
$themeDisplay = new ThemeListDisplay();
if ($this->displayType) {
$themeDisplay->setDisplay($this->displayType);
$this->ajaxRender(json_encode([
'hasError' => false,
'success' => true,
]));
} else {
$this->ajaxRender(json_encode([
'hasError' => true,
'success' => false,
]));
}
}
}

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;

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;