From 88ceb65d8b8d6d40dacfa88353304c6b3a91e4b0 Mon Sep 17 00:00:00 2001 From: Jonathan Danse Date: Tue, 7 Dec 2021 15:10:09 +0100 Subject: [PATCH 01/12] Avoid warning open_basedir restriction (using fetch instead of display) --- psgdpr.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psgdpr.php b/psgdpr.php index 4a27cac2..71805c3c 100755 --- a/psgdpr.php +++ b/psgdpr.php @@ -625,7 +625,7 @@ public function hookDisplayCustomerAccount() 'ps_version' => $this->ps_version, ]); - return $this->display(dirname(__FILE__), '/views/templates/front/customerAccount.tpl'); + return $this->fetch('module:' . $this->name . '/views/templates/front/customerAccount.tpl'); } /** From 412675a25938de0d75aa4bcc04f0b66db2435cec Mon Sep 17 00:00:00 2001 From: Jonathan Danse Date: Tue, 1 Feb 2022 22:55:16 +0100 Subject: [PATCH 02/12] Remove extra line --- psgdpr.php | 1 - 1 file changed, 1 deletion(-) diff --git a/psgdpr.php b/psgdpr.php index 6dc9b41d..71805c3c 100755 --- a/psgdpr.php +++ b/psgdpr.php @@ -625,7 +625,6 @@ public function hookDisplayCustomerAccount() 'ps_version' => $this->ps_version, ]); - return $this->fetch('module:' . $this->name . '/views/templates/front/customerAccount.tpl'); } From 3836320df1202542f7f930d0e89a5af8a36208ed Mon Sep 17 00:00:00 2001 From: Krystian Podemski Date: Mon, 25 Apr 2022 14:42:07 +0200 Subject: [PATCH 03/12] Remove id of the div to avoid duplicatons --- views/templates/hook/displayGDPRConsent.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/templates/hook/displayGDPRConsent.tpl b/views/templates/hook/displayGDPRConsent.tpl index bbc1e6f7..bac5da2a 100644 --- a/views/templates/hook/displayGDPRConsent.tpl +++ b/views/templates/hook/displayGDPRConsent.tpl @@ -17,7 +17,7 @@ * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) *} -