<path d="M26,19.2h-5c-0.6,0-1,0.4-1,1v19.5c0,0.6,0.4,1,1,1h5c0.6,0,1-0.4,1-1V20.2C27,19.8,26.6,19.2,26,19.2z"/>
<path d="M39,19.2h-5c-0.6,0-1,0.4-1,1v19.5c0,0.6,0.4,1,1,1h5c0.6,0,1-0.4,1-1V20.2C40,19.8,39.6,19.2,39,19.2z"/>
</symbol>
+ <symbol id="icon-trashbin" viewBox="0 0 21 24">
+ <path d="M16.9,23.3H4.1c-1,0-1.7-0.8-1.7-1.7v-17c0-0.4,0.3-0.7,0.7-0.7s0.7,0.3,0.7,0.7v17c0,0.2,0.2,0.3,0.3,0.3h12.8
+ c0.2,0,0.3-0.2,0.3-0.3v-17c0-0.4,0.3-0.7,0.7-0.7s0.7,0.3,0.7,0.7v17C18.6,22.5,17.9,23.3,16.9,23.3z"/>
+ <path d="M15.2,5.3c-0.4,0-0.7-0.3-0.7-0.7V2.5c0-0.2-0.2-0.3-0.3-0.3H6.9c-0.2,0-0.3,0.2-0.3,0.3v2.1c0,0.4-0.3,0.7-0.7,0.7
+ S5.1,5,5.1,4.6V2.5c0-1,0.8-1.7,1.7-1.7h7.3c1,0,1.7,0.8,1.7,1.7v2.1C15.9,5,15.6,5.3,15.2,5.3z"/>
+ <path d="M19.6,5.3H1.4C1,5.3,0.7,5,0.7,4.6S1,3.9,1.4,3.9h18.3c0.4,0,0.7,0.3,0.7,0.7S20,5.3,19.6,5.3z"/>
+ <path d="M7.2,18.6c-0.4,0-0.7-0.3-0.7-0.7V8.2c0-0.4,0.3-0.7,0.7-0.7s0.7,0.3,0.7,0.7v9.7C7.9,18.3,7.6,18.6,7.2,18.6z"/>
+ <path d="M10.5,18.6c-0.4,0-0.7-0.3-0.7-0.7V8.2c0-0.4,0.3-0.7,0.7-0.7s0.7,0.3,0.7,0.7v9.7C11.2,18.3,10.9,18.6,10.5,18.6z"/>
+ <path d="M13.8,18.6c-0.4,0-0.7-0.3-0.7-0.7V8.2c0-0.4,0.3-0.7,0.7-0.7s0.7,0.3,0.7,0.7v9.7C14.5,18.3,14.2,18.6,13.8,18.6z"/>
+ </symbol>
</svg>
}
var print = $(this).hasClass('print');
if ($this.fluidbook.settings.bookmarkFunctionsMainMenu) {
- $this.fluidbook.menu.openView(print ? 'print' : 'download','','',function(){
- $("#bookmarkedPages").prop('checked',true);
+ $this.fluidbook.menu.openView(print ? 'print' : 'download', '', '', function () {
+ $("#bookmarkedPages").prop('checked', true);
});
} else {
$this.openPDF($(this), print);
}
index += '</div></div>';
index += '<div class="fonctions">';
+ if (this.fluidbook.settings.bookmarkEmpty) {
+ index += '<a role="button" aria-label="' + this.fluidbook.l10n.__('empty bookmarks') + '" class="empty noborder icon" href="#">' + getSpriteIcon('icon-trashbin') + this.fluidbook.l10n.__('empty bookmarks') + '</a>';
+ }
if (this.fluidbook.settings.friend && this.fluidbook.settings.bookmarkSendEnable) {
index += '<a role="button" aria-label="' + this.fluidbook.l10n.__('send') + '" class="send" href="#">' + this.fluidbook.l10n.__('send') + '</a>';
}