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:
parent
b7ab8bd9d9
commit
a0cb911ce9
7 changed files with 101 additions and 16 deletions
5
base.php
5
base.php
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue