X-Git-Url: https://git.rvb.name/openlib.git/blobdiff_plain/3114ea22d53f6e5f2e38507a95f54e50b1c558cf..de4a5d3664fd9de7c8fd560745668c320c018b45:/www/templates/default/bookdetail.html diff --git a/www/templates/default/bookdetail.html b/www/templates/default/bookdetail.html index be7e54a..e30f03c 100644 --- a/www/templates/default/bookdetail.html +++ b/www/templates/default/bookdetail.html @@ -1,20 +1,27 @@ <article class="bookpopup"> - {{? it.book.hasCover == 1}} + {{? $.cookie("use_fancyapps") == 1}} <div id="openModal" class="modalDialog"> - <div> - <a href="#close" title="Close" class="close">X</a> - {{~it.book.authors:author:j}} + <div> + <a href="#close" title="Close" class="close">X</a> + {{~it.book.authors:author:j}} {{? j > 0}}, {{?}}<h3>{{=htmlEscape (author.name)}}</h3> - {{~}} - <h2>{{=htmlEscape (it.title)}}</h2> - <img src="{{=it.book.coverurl}}" alt="{{=it.const.i18n.coverAlt}}" /> - </div> + {{~}} + <h2>{{=htmlEscape (it.title)}}</h2> + <img src="{{=it.book.coverurl}}" alt="{{=it.const.i18n.coverAlt}}" /> + </div> </div> {{?}} <span class="cover"> {{? it.book.hasCover == 1}} + {{? $.cookie("use_fancyapps") == 1}} <a href="#openModal"> - <img src="{{=it.book.thumbnailurl}}" alt="{{=it.const.i18n.coverAlt}}" /> + {{?}} + {{? $.cookie("use_fancyapps") == 0}} + <a href="{{=it.book.coverurl}}"> + {{?}} + <div class="fullclickpopup"> + <img src="{{=it.book.thumbnailurl}}" alt="{{=it.const.i18n.coverAlt}}"> + </div> </a> {{?}} </span>