From 8cec112721cf35d66b61f7234fb0e6ce36803368 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Tue, 12 Jun 2012 22:52:39 +0200 Subject: [PATCH] * Minor header change * Fixed the comment for HTML catalog --- book.php | 4 ++-- bookdetail.php | 4 ++-- index.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/book.php b/book.php index 1740e98..19c6cd2 100644 --- a/book.php +++ b/book.php @@ -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 . "" . localize("content.series") . "" . str_format (localize ("content.series.data"), $this->seriesIndex, $se->name) . "
\n"; } if (preg_match ("/<\/(div|p|a)>/", $this->comment)) diff --git a/bookdetail.php b/bookdetail.php index 0549c8e..8222bc0 100644 --- a/bookdetail.php +++ b/bookdetail.php @@ -1,6 +1,6 @@ @@ -53,6 +53,6 @@ $tags = $book->getTags ();

- getComment () ?> + getComment (false) ?>
\ No newline at end of file diff --git a/index.php b/index.php index 36b74ab..f8073c6 100644 --- a/index.php +++ b/index.php @@ -1,6 +1,6 @@