projects
/
openlib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Non-initialized variable fix.
[openlib.git]
/
www
/
templates
/
default
/
bookdetail.html
diff --git
a/www/templates/default/bookdetail.html
b/www/templates/default/bookdetail.html
index be7e54ab7983466e8c869de558fe14eacc7fcb2b..e30f03ce7182e1c9b6ee21b61c99491b5b0864ea 100644
(file)
--- a/
www/templates/default/bookdetail.html
+++ b/
www/templates/default/bookdetail.html
@@
-1,20
+1,27
@@
<article class="bookpopup">
\r
<article class="bookpopup">
\r
- {{?
it.book.hasCover
== 1}}
\r
+ {{?
$.cookie("use_fancyapps")
== 1}}
\r
<div id="openModal" class="modalDialog">
\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
{{? 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
</div>
\r
{{?}}
\r
<span class="cover">
\r
{{? it.book.hasCover == 1}}
\r
+ {{? $.cookie("use_fancyapps") == 1}}
\r
<a href="#openModal">
\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
</a>
\r
{{?}}
\r
</span>
\r