From d1cccb13cb7e3a546fb1397e76dcebcc68d7e585 Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Thu, 24 Oct 2013 17:28:50 +0200 Subject: [PATCH 1/3] remove some links in admin config part --- templates/admin/default/configuration.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/admin/default/configuration.html b/templates/admin/default/configuration.html index 14f195270..4c6acd1db 100644 --- a/templates/admin/default/configuration.html +++ b/templates/admin/default/configuration.html @@ -151,7 +151,7 @@ {/loop} - {loop type="auth" name="pcc6" role="ADMIN" resource="admin.configuration.mailing-system" access="VIEW"} +{* {loop type="auth" name="pcc6" role="ADMIN" resource="admin.configuration.mailing-system" access="VIEW"} {intl l='Mailing system'} @@ -170,7 +170,7 @@ {intl l='System logs'} - {/loop} + {/loop}*} {module_include location='system_configuration_bottom'} From 9cd986d3b61ffc7201a7a5e2904fa61fc8e70fef Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Thu, 24 Oct 2013 17:33:35 +0200 Subject: [PATCH 2/3] fix issue #53 --- templates/default/cart.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/default/cart.html b/templates/default/cart.html index 8619b6e6b..36f4f110f 100644 --- a/templates/default/cart.html +++ b/templates/default/cart.html @@ -70,7 +70,7 @@ {/elseloop} -

+

{$TITLE}

From 91f29203365761c70487e0c819ec51f36b9da7dd Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Thu, 24 Oct 2013 17:35:17 +0200 Subject: [PATCH 3/3] remove http cache --- core/lib/Thelia/Core/EventListener/ViewListener.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/lib/Thelia/Core/EventListener/ViewListener.php b/core/lib/Thelia/Core/EventListener/ViewListener.php index aefc0cf90..db036f111 100755 --- a/core/lib/Thelia/Core/EventListener/ViewListener.php +++ b/core/lib/Thelia/Core/EventListener/ViewListener.php @@ -84,13 +84,13 @@ class ViewListener implements EventSubscriberInterface $response = new Response($content, $parser->getStatus() ?: 200); } - $response->setCache(array( +/* $response->setCache(array( 'last_modified' => new \DateTime(), 'max_age' => 600, 's_maxage' => 600, 'private' => false, 'public' => true, - )); + ));*/ $event->setResponse($response); } catch (ResourceNotFoundException $e) {