]> _ Git - cubeextranet.git/commitdiff
#2027
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 23 Apr 2018 13:49:01 +0000 (13:49 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 23 Apr 2018 13:49:01 +0000 (13:49 +0000)
inc/ws/Util/html5/inlineslideshow/class.ws.html5.links.php

index c3e938ff428e13b00f8ed979d83812718cf76ab2..ecfd54fe872d8c7e331c597323fc75f1f4a33987 100644 (file)
@@ -928,8 +928,6 @@ class imageLink extends contentLink
 
 class inlineSlideshowLink extends contentLink
 {
-
-
        public function getHTMLContent()
        {
                $d = $this->unzipFile($this->to, false);
@@ -940,6 +938,7 @@ class inlineSlideshowLink extends contentLink
                        /* @var $f SplFileInfo */
                        $files[] = $f->getFilename();
                }
+               sort($files);
                $f = htmlspecialchars(json_encode($files), ENT_QUOTES);
 
                return '<div class="inlineslideshow" data-dir="' . str_replace('.', '_', $this->to) . '" data-images="' . $f . '"></div>';