Add serie in book detail
This commit is contained in:
parent
31b6333792
commit
3cee7cbd36
2 changed files with 15 additions and 0 deletions
|
@ -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 />
|
||||||
|
|
|
@ -153,6 +153,7 @@ padding-top: 120px;
|
||||||
{
|
{
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
margin-bottom: 18px;
|
margin-bottom: 18px;
|
||||||
|
line-height: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.entrySection span
|
.entrySection span
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue