<article class="bookpopup">\r
- {{? it.book.hasCover == 1}}\r
+ {{? $.cookie("use_fancyapps") == 1}}\r
<div id="openModal" class="modalDialog">\r
- <div>\r
- <a href="#close" title="Close" class="close">X</a>\r
- {{~it.book.authors:author:j}}\r
+ <div>\r
+ <a href="#close" title="Close" class="close">X</a>\r
+ {{~it.book.authors:author:j}}\r
{{? j > 0}}, {{?}}<h3>{{=htmlEscape (author.name)}}</h3>\r
- {{~}}\r
- <h2>{{=htmlEscape (it.title)}}</h2>\r
- <img src="{{=it.book.coverurl}}" alt="{{=it.const.i18n.coverAlt}}" />\r
- </div>\r
+ {{~}}\r
+ <h2>{{=htmlEscape (it.title)}}</h2>\r
+ <img src="{{=it.book.coverurl}}" alt="{{=it.const.i18n.coverAlt}}" />\r
+ </div>\r
</div>\r
{{?}}\r
<span class="cover">\r
{{? it.book.hasCover == 1}}\r
+ {{? $.cookie("use_fancyapps") == 1}}\r
<a href="#openModal">\r
- <img src="{{=it.book.thumbnailurl}}" alt="{{=it.const.i18n.coverAlt}}" />\r
+ {{?}}\r
+ {{? $.cookie("use_fancyapps") == 0}}\r
+ <a href="{{=it.book.coverurl}}">\r
+ {{?}}\r
+ <div class="fullclickpopup">\r
+ <img src="{{=it.book.thumbnailurl}}" alt="{{=it.const.i18n.coverAlt}}">\r
+ </div>\r
</a>\r
{{?}}\r
</span>\r