Hide tags & series if there is none. re #63

This commit is contained in:
Sébastien Lucas 2013-05-21 09:10:05 +02:00
parent 332e64a82a
commit 32279afc6e
4 changed files with 14 additions and 3 deletions

View file

@ -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)) {