Fix about if lightbox are disabled.
This commit is contained in:
parent
f408a71f80
commit
886b2673d3
|
@ -93,6 +93,10 @@
|
||||||
$out["abouturl"] = "index.php" . addURLParameter ("?page=16", DB, $database);
|
$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";
|
$out ["homeurl"] = "index.php";
|
||||||
if ($page != Base::PAGE_INDEX && !is_null ($database)) $out ["homeurl"] = $out ["homeurl"] . "?" . addURLParameter ("", DB, $database);
|
if ($page != Base::PAGE_INDEX && !is_null ($database)) $out ["homeurl"] = $out ["homeurl"] . "?" . addURLParameter ("", DB, $database);
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
<section>
|
<section>
|
||||||
|
{{? it.page == 13 || it.page == 16}}
|
||||||
{{? it.page == 13}}
|
{{? it.page == 13}}
|
||||||
{{#def.bookdetail}}
|
{{#def.bookdetail}}
|
||||||
|
{{??}}
|
||||||
|
{{= it.fullhtml}}
|
||||||
|
{{?}}
|
||||||
{{??}}
|
{{??}}
|
||||||
{{~it.entries:entry:i}}
|
{{~it.entries:entry:i}}
|
||||||
{{? it.containsBook == 0}}
|
{{? it.containsBook == 0}}
|
||||||
|
|
Loading…
Reference in a new issue