Add serie in book detail
This commit is contained in:
parent
31b6333792
commit
3cee7cbd36
|
@ -13,6 +13,7 @@ require_once ("book.php");
|
||||||
$book = Book::getBookById($_GET["id"]);
|
$book = Book::getBookById($_GET["id"]);
|
||||||
$authors = $book->getAuthors ();
|
$authors = $book->getAuthors ();
|
||||||
$tags = $book->getTags ();
|
$tags = $book->getTags ();
|
||||||
|
$serie = $book->getSerie ();
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<div class="bookpopup">
|
<div class="bookpopup">
|
||||||
|
@ -49,6 +50,19 @@ $tags = $book->getTags ();
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<?php
|
||||||
|
if (!is_null ($serie))
|
||||||
|
{
|
||||||
|
?>
|
||||||
|
<div class="entrySection">
|
||||||
|
<div class="buttonEffect pad6">
|
||||||
|
<a href="index.php<?php echo str_replace ("&", "&", $serie->getUri ()) ?>"><?php echo localize("series.title") ?></a>
|
||||||
|
</div>
|
||||||
|
<?php echo str_format (localize ("content.series.data"), $book->seriesIndex, $serie->name) ?>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
</div>
|
</div>
|
||||||
<div class="clearer" />
|
<div class="clearer" />
|
||||||
<hr />
|
<hr />
|
||||||
|
|
Loading…
Reference in a new issue