Reduce a little the size of HTML page size

This commit is contained in:
Sébastien Lucas 2013-05-24 11:33:34 +02:00
parent df03815ec6
commit 83e1a1172c

View file

@ -246,7 +246,14 @@
<?php <?php
} }
?> ?>
<span class="sr"><?php echo $entry->book->getRating () ?></span></h2> <?php
if (!is_null ($entry->book->rating)) {
?>
<span class="sr"><?php echo $entry->book->getRating () ?></span>
<?php
}
?>
</h2>
<h4><?php echo localize("authors.title") . " : " ?></h4><span class="sa"><?php echo htmlspecialchars ($entry->book->getAuthorsName ()) ?></span><br /> <h4><?php echo localize("authors.title") . " : " ?></h4><span class="sa"><?php echo htmlspecialchars ($entry->book->getAuthorsName ()) ?></span><br />
<?php <?php
$tags = $entry->book->getTagsName (); $tags = $entry->book->getTagsName ();
@ -263,12 +270,11 @@
<h4><?php echo localize("series.title") . " : " ?></h4><span class="ss"><?php echo htmlspecialchars ($serie->name) . " (" . $entry->book->seriesIndex . ")" ?></span><br /> <h4><?php echo localize("series.title") . " : " ?></h4><span class="ss"><?php echo htmlspecialchars ($serie->name) . " (" . $entry->book->seriesIndex . ")" ?></span><br />
<?php <?php
} }
?></div></a> ?>
</div></a>
</article> </article>
<?php <?php
} }
?>
<?php
} }
?> ?>
</section> </section>