Don't print the tags if there's no tags. Based on a patch by Tyler J. Wagner

This commit is contained in:
Sébastien Lucas 2013-02-20 21:46:36 +01:00
parent ef381e4a74
commit 8e32a45f68

View file

@ -63,6 +63,9 @@ $book->getLinkArray ();
?> ?>
</div> </div>
</div> </div>
<?php
if (count ($tags) > 0) {
?>
<div class="entrySection"> <div class="entrySection">
<span><?php echo localize("tags.title") ?></span> <span><?php echo localize("tags.title") ?></span>
<div class="buttonEffect pad6"> <div class="buttonEffect pad6">
@ -78,6 +81,7 @@ $book->getLinkArray ();
</div> </div>
</div> </div>
<?php <?php
}
if (!is_null ($serie)) if (!is_null ($serie))
{ {
?> ?>