cops/templates/default/bookdetail.html

53 lines
2 KiB
HTML
Raw Normal View History

<article class="bookpopup">
<span class="cover">
{{? it.book.hasCover == 1}}
<a href="{{=it.book.coverurl}}">
2013-06-17 22:21:52 +03:00
<img src="{{=it.book.thumbnailurl}}" alt="{{=it.const.i18n.coverAlt}}" />
</a>
{{?}}
</span>
<h2 class="download">
{{~it.book.datas:data:i}}
2013-06-21 22:31:49 +03:00
<a href="{{=data.url}}">{{=data.format}}</a>
{{? data.mail == 1}}
<a id="mailButton" title="Mail" href="empty.php" onclick="sendToMailAddress (this, {{=data.id}}); return false;"><i class="icon-envelope icon-large"></i></a>
2013-06-21 22:31:49 +03:00
{{?}}
<br />
{{~}}
</h2>
<h1><a title="{{=it.const.i18n.permalinkAlt}}" rel="bookmark" href="{{=str_format (it.const.url.detailUrl, it.book.id, it.databaseId)}}"><i class="icon-link"></i></a>{{=htmlspecialchars (it.title)}}</h1>
<p class="popupless">
2013-06-17 22:21:52 +03:00
<h3>{{=it.const.i18n.authorsTitle}}: </h3>
2013-08-21 16:42:46 +03:00
{{~it.book.authors:author:i}}
{{? i > 0}}, {{?}}<a href="{{=author.url}}">{{=htmlspecialchars (author.name)}}</a>
{{~}}
</p>
{{? it.book.tagsName != ""}}
<p class="popupless">
2013-06-17 22:21:52 +03:00
<h3>{{=it.const.i18n.tagsTitle}}: </h3>
2013-08-21 16:42:46 +03:00
{{~it.book.tags:tag:i}}
{{? i > 0}}, {{?}}<a href="{{=tag.url}}">{{=htmlspecialchars (tag.name)}}</a>
{{~}}
</p>
{{?}}
{{? it.book.seriesName != ""}}
<p class="popupless">
<h3><a href="{{=it.book.seriesurl}}">{{=it.const.i18n.seriesTitle}}</a> : </h3>{{=htmlspecialchars (it.book.seriesCompleteName)}}
</p>
{{?}}
{{? it.book.pubDate != ""}}
<p class="popupless">
2013-06-17 22:21:52 +03:00
<h3>{{=it.const.i18n.pubdateTitle}}: </h3>{{=it.book.pubDate}}
</p>
{{?}}
{{? it.book.languagesName != ""}}
<p class="popupless">
2013-06-17 22:21:52 +03:00
<h3>{{=it.const.i18n.languagesTitle}}: </h3>{{=it.book.languagesName}}
</p>
{{?}}
{{? it.book.content != ""}}
<br />
2013-06-17 22:21:52 +03:00
<h4>{{=it.const.i18n.contentTitle}}</h4>
<div>{{=it.book.content}}</div>
{{?}}
</article>