Bookdetail is handled with ajax. Template is not complete though. re #73
Fixes some small bugs with the other template.
Šis iesūtījums ir iekļauts:
vecāks
b7ab8bd9d9
iesūtījums
a0cb911ce9
7 izmainītas datnes ar 101 papildinājumiem un 16 izdzēšanām
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Notiek ielāde…
Pievienot tabulu
Pievienot saiti
Atsaukties jaunā pieteikumā