simplify again. re #73
This commit is contained in:
parent
2029ab7d01
commit
aa376d63b2
1
book.php
1
book.php
|
@ -142,7 +142,6 @@ class Book extends Base {
|
||||||
public function getFullContentArray () {
|
public function getFullContentArray () {
|
||||||
$out = $this->getContentArray ();
|
$out = $this->getContentArray ();
|
||||||
|
|
||||||
$out ["detailurl"] = $this->getDetailUrl (true);
|
|
||||||
$out ["coverurl"] = Data::getLink ($this, "jpg", "image/jpeg", Link::OPDS_IMAGE_TYPE, "cover.jpg", NULL)->hrefXhtml ();
|
$out ["coverurl"] = Data::getLink ($this, "jpg", "image/jpeg", Link::OPDS_IMAGE_TYPE, "cover.jpg", NULL)->hrefXhtml ();
|
||||||
$out ["thumbnailurl"] = Data::getLink ($this, "jpg", "image/jpeg", Link::OPDS_THUMBNAIL_TYPE, "cover.jpg", NULL, NULL, 150)->hrefXhtml ();
|
$out ["thumbnailurl"] = Data::getLink ($this, "jpg", "image/jpeg", Link::OPDS_THUMBNAIL_TYPE, "cover.jpg", NULL, NULL, 150)->hrefXhtml ();
|
||||||
$out ["content"] = $this->getComment (false);
|
$out ["content"] = $this->getComment (false);
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<a href="{{=data.url}}">{{=data.format}}</a><br />
|
<a href="{{=data.url}}">{{=data.format}}</a><br />
|
||||||
{{~}}
|
{{~}}
|
||||||
</h2>
|
</h2>
|
||||||
<h1><a rel="bookmark" href="{{=it.book.detailurl}}"><img src="images/Link.png?v={{=it.const.version}}" alt="{{=it.const.i18n.permalinkAlt}}" /></a>{{=htmlEscape (it.title)}}</h1>
|
<h1><a rel="bookmark" href="{{=strformat (it.const.url.detailUrl, it.book.id, it.databaseId)}}"><img src="images/Link.png?v={{=it.const.version}}" alt="{{=it.const.i18n.permalinkAlt}}" /></a>{{=htmlEscape (it.title)}}</h1>
|
||||||
<p class="popupless">
|
<p class="popupless">
|
||||||
<h3>{{=it.const.i18n.authorsTitle}}: </h3>
|
<h3>{{=it.const.i18n.authorsTitle}}: </h3>
|
||||||
{{~it.book.authors:author:j}}
|
{{~it.book.authors:author:j}}
|
||||||
|
|
Loading…
Reference in a new issue