From: vincent@cubedesigners.com Date: Thu, 31 Jan 2013 10:00:31 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=6e6d30774e017c4547a05debdd55815f50392116;p=cubeextranet.git --- diff --git a/fluidbook/icones/bookmark/bookmark-left-off.svg b/fluidbook/icones/bookmark/bookmark-left-off.svg index 82a197cf2..89513f3e2 100644 --- a/fluidbook/icones/bookmark/bookmark-left-off.svg +++ b/fluidbook/icones/bookmark/bookmark-left-off.svg @@ -3,7 +3,7 @@ - - - -theme->parametres->linksColor, 0.4) . ';background-color:' . self::colorToCSS($this->theme->parametres->linksColor, 0.0001) . ';}'; // Bookmarks - $size = round($this->book->parametres->width * $this->book->parametres->bookmarkCornerSize * 0.0075); + if(!isset($this->book->parametres->bookmarkCornerSize)){ + $this->book->parametres->bookmarkCornerSize=10; + } + $size = round($this->book->parametres->width * $s * 0.0075); $res[] = '#links .bookmark{width:' . $size . 'px;height:' . $size . 'px;}'; // Menus @@ -1087,7 +1090,7 @@ class wsHTML5Compiler { $hex = $color; $alpha = 1; } else { - $alpha = substr($color, 0, 2) / 255; + $alpha = hexdec(substr($color, 0, 2)) / 255; $hex = substr($color, 2, 6); }