]> _ Git - cubeextranet.git/commitdiff
done #3927 @1
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 1 Oct 2020 15:23:03 +0000 (15:23 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 1 Oct 2020 15:23:03 +0000 (15:23 +0000)
inc/ws/Util/html5/master/class.ws.html5.links.php

index b37975746c929f2c9e57a6aa61133e6ab87d0606..70f2221c5a62b8530d1befeda5c41ad9d2fdf908 100644 (file)
@@ -1422,7 +1422,7 @@ class fileLink extends normalLink
 
     public function getTarget()
     {
-        return '_blank';
+        return $this->target;
     }
 
     public function getDefaultTooltip()
@@ -2417,9 +2417,9 @@ class slideshowLink extends normalLink
             if ($options['show_captions'] && null !== $slide['caption']) {
 
                 // Caption font size can be overridden if specified in XML
-                $caption_style = $options['caption_size'] ? ' style="font-size:'. $options['caption_size'] .'"' : '';
+                $caption_style = $options['caption_size'] ? ' style="font-size:' . $options['caption_size'] . '"' : '';
 
-                $res .= '<p class="fb-slideshow-slide-caption"'. $caption_style .'>' . $slide['caption'] . '</p>';
+                $res .= '<p class="fb-slideshow-slide-caption"' . $caption_style . '>' . $slide['caption'] . '</p>';
             }
 
             $res .= '</li>'; // .fb-slideshow-slide