]> _ Git - fluidbook-toolbox.git/commitdiff
wait #6426 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 18 Oct 2023 16:03:33 +0000 (18:03 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 18 Oct 2023 16:03:33 +0000 (18:03 +0200)
app/Fluidbook/Link/Cart/Joueclub2021CartLink.php

index d5e83bd7a622cc7211ff825906eb07e7224a5a1b..8d61c06423ccb2491cad131547030b049bd8681d 100644 (file)
@@ -13,6 +13,10 @@ class Joueclub2021CartLink extends CartLink
 
     public function getInnerContent()
     {
+        if (file_exists($this->compiler->working_path('commerce/bouton-wishlist.svg'))) {
+            return file_get_contents($this->compiler->working_path('commerce/bouton-wishlist.svg'));
+        }
+
         return '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
         viewBox="0 0 50 50" style="enable-background:new 0 0 50 50;" xml:space="preserve">
 <style type="text/css">
@@ -22,7 +26,7 @@ class Joueclub2021CartLink extends CartLink
 
                .st3{fill:url(#SVGID_00000091725099145697549030000002656161899138345614_);stroke:#F0EEEA;stroke-width:3.3;stroke-miterlimit:10;}
 </style>
-<g class="on">
+<g id="on">
        <g id="on_00000067198718027100822470000000858312170120319118_">
 
                        <radialGradient id="SVGID_1_" cx="12.5" cy="43" r="21.783" gradientTransform="matrix(1 0 0 -1 0 52)" gradientUnits="userSpaceOnUse">
@@ -38,7 +42,7 @@ class Joueclub2021CartLink extends CartLink
                        c0.1,0.1,0.2,0.2,0.4,0.2C23.9,34.2,23.7,33,23.7,31.8z"/>
        </g>
 </g>
-<g class="off">
+<g id="off">
        <g id="off_00000158745150850562103200000013702113717099787924_">
                <circle class="st2" cx="26.5" cy="26.5" r="23.3"/>