* Minor header change

* Fixed the comment for HTML catalog
This commit is contained in:
Sébastien Lucas 2012-06-12 22:52:39 +02:00
parent 2de35f9897
commit 8cec112721
3 changed files with 5 additions and 5 deletions

View file

@ -118,10 +118,10 @@ class Book extends Base {
return $tagList;
}
public function getComment () {
public function getComment ($withSerie = true) {
$addition = "";
$se = $this->getSerie ();
if (!is_null ($se)) {
if (!is_null ($se) && $withSerie) {
$addition = $addition . "<strong>" . localize("content.series") . "</strong>" . str_format (localize ("content.series.data"), $this->seriesIndex, $se->name) . "<br />\n";
}
if (preg_match ("/<\/(div|p|a)>/", $this->comment))