]> _ Git - cubeextranet.git/commitdiff
#1758
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 18 Oct 2017 15:43:05 +0000 (15:43 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 18 Oct 2017 15:43:05 +0000 (15:43 +0000)
inc/ws/Util/html5/master/class.ws.html5.compiler.php
inc/ws/Util/html5/master/class.ws.html5.links.php

index e79a9fa6cd1039741a0161feb637484b64794d26..bcab40373f36aa619c4a1f5cf7c97be2528c85ca 100644 (file)
@@ -750,7 +750,8 @@ class wsHTML5Compiler {
                                'alternative' => $this->book->parametres->tabsHTML5,
                                'image' => '',
                                'inline' => 1,
-                               'interactive'=>1,
+                               'interactive' => 1,
+                               'class' => 'tabslink',
                        ];
                }
 
index 9d26ea5974c1c591fd2ca44c9f3178f219617db3..86f1633a657db997896b02103b8f3254c568b7d0 100644 (file)
@@ -27,6 +27,7 @@ class wsHTML5Link {
        public $extra;
        public $id;
        public $rot;
+       public $class;
 
        protected $_init;
 
@@ -198,7 +199,7 @@ class wsHTML5Link {
        }
 
        public function getHTMLContainerClass() {
-               $res = 'link';
+               $res = trim('link ' . $this->class);
                if ($this->page % 2 == 1) {
                        $res .= ' odd';
                }