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
|
@ -31,6 +31,9 @@
|
|||
foreach ($currentPage->entryArray as $entry) {
|
||||
array_push ($entries, $entry->getContentArray ());
|
||||
}
|
||||
if (!is_null ($currentPage->book)) {
|
||||
$out ["book"] = $currentPage->book->getFullContentArray ();
|
||||
}
|
||||
$out ["databaseId"] = GetUrlParam (DB, "");
|
||||
$out ["databaseName"] = Base::getDbName ();
|
||||
$out ["page"] = $page;
|
||||
|
@ -60,7 +63,8 @@
|
|||
"previousAlt" => localize ("paging.previous.alternate"),
|
||||
"nextAlt" => localize ("paging.next.alternate"),
|
||||
"searchAlt" => localize ("search.alternate"),
|
||||
"homeAlt" => localize ("home.alternate"));
|
||||
"homeAlt" => localize ("home.alternate"),
|
||||
"permalinkAlt" => localize ("permalink.alternate"));
|
||||
|
||||
$out ["containsBook"] = 0;
|
||||
if ($currentPage->containsBook ()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue