Fix about if lightbox are disabled.

This commit is contained in:
Sébastien Lucas 2013-07-07 10:20:02 +02:00
parent f408a71f80
commit 886b2673d3
2 changed files with 10 additions and 2 deletions

View file

@ -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);

View file

@ -1,6 +1,10 @@
<section> <section>
{{? it.page == 13}} {{? it.page == 13 || it.page == 16}}
{{#def.bookdetail}} {{? it.page == 13}}
{{#def.bookdetail}}
{{??}}
{{= it.fullhtml}}
{{?}}
{{??}} {{??}}
{{~it.entries:entry:i}} {{~it.entries:entry:i}}
{{? it.containsBook == 0}} {{? it.containsBook == 0}}