download all files

This commit is contained in:
Roman Pyrih
2025-06-24 14:14:35 +02:00
parent ebed09c00b
commit 4c71b5d9c2
72007 changed files with 10407727 additions and 40029 deletions

View File

@@ -0,0 +1,34 @@
<?php
/**
* Trustpilot Module
*
* @author Trustpilot
* @copyright Trustpilot
* @license https://opensource.org/licenses/OSL-3.0
*/
define('PATH_ROOT', dirname(__FILE__));
include_once PATH_ROOT . "/../../viewLoader.php";
class TrustpilotTabController extends AdminController
{
public function __construct()
{
parent::__construct();
$this->bootstrap = true;
$this->module = 'TrustpilotTab';
$this->lang = (!isset($this->context->cookie) || !is_object($this->context->cookie)) ?
(int)Configuration::get('PS_LANG_DEFAULT') : (int)$this->context->cookie->id_lang;
}
public function renderList()
{
$helper = new TrustpilotViewLoader($this->context);
$this->context->smarty->assign(
$helper->getValues()
);
return $this->context->smarty->fetch(_PS_MODULE_DIR_.'trustpilot/views/templates/admin/admin.tpl');
}
}

View File

@@ -0,0 +1,8 @@
<?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;