diff --git a/getJSON.php b/getJSON.php index fbf7769..6c8a32c 100644 --- a/getJSON.php +++ b/getJSON.php @@ -93,6 +93,10 @@ $out["abouturl"] = "index.php" . addURLParameter ("?page=16", DB, $database); } + if ($page == Base::PAGE_ABOUT) { + $out ["fullhtml"] = file_get_contents('about.html'); + } + $out ["homeurl"] = "index.php"; if ($page != Base::PAGE_INDEX && !is_null ($database)) $out ["homeurl"] = $out ["homeurl"] . "?" . addURLParameter ("", DB, $database); diff --git a/templates/default/main.html b/templates/default/main.html index a495b3a..5bbaea1 100644 --- a/templates/default/main.html +++ b/templates/default/main.html @@ -1,6 +1,10 @@
-{{? it.page == 13}} - {{#def.bookdetail}} +{{? it.page == 13 || it.page == 16}} + {{? it.page == 13}} + {{#def.bookdetail}} + {{??}} + {{= it.fullhtml}} + {{?}} {{??}} {{~it.entries:entry:i}} {{? it.containsBook == 0}}