Bookdetail is handled with ajax. Template is not complete though. re #73

Fixes some small bugs with the other template.
This commit is contained in:
Sébastien Lucas 2013-06-15 16:09:37 +02:00
parent b7ab8bd9d9
commit a0cb911ce9
7 changed files with 101 additions and 16 deletions

View file

@ -343,6 +343,7 @@ class Page
public $query;
public $favicon;
public $n;
public $book;
public $totalNumber = -1;
public $entryArray = array();
@ -678,8 +679,8 @@ class PageBookDetail extends Page
{
public function InitializeContent ()
{
$book = Book::getBookById ($this->idGet);
$this->title = $book->title;
$this->book = Book::getBookById ($this->idGet);
$this->title = $this->book->title;
}
}