Hide tags & series if there is none. re #63
This commit is contained in:
parent
332e64a82a
commit
32279afc6e
4 changed files with 14 additions and 3 deletions
|
@ -247,7 +247,14 @@
|
|||
?>
|
||||
<span class="sr"><?php echo $entry->book->getRating () ?></span></h2>
|
||||
<h4><?php echo localize("authors.title") . " : " ?></h4><span class="sa"><?php echo htmlspecialchars ($entry->book->getAuthorsName ()) ?></span><br />
|
||||
<h4><?php echo localize("tags.title") . " : </h4>" . htmlspecialchars ($entry->book->getTagsName ()) ?><br />
|
||||
<?php
|
||||
$tags = $entry->book->getTagsName ();
|
||||
if (!empty ($tags)) {
|
||||
?>
|
||||
<h4><?php echo localize("tags.title") . " : </h4>" . htmlspecialchars ($tags) ?><br />
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
$serie = $entry->book->getSerie ();
|
||||
if (!is_null ($serie)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue