diff --git a/public_html/rewrite.php b/public_html/rewrite.php index 0139b79..3ddc2b8 100644 --- a/public_html/rewrite.php +++ b/public_html/rewrite.php @@ -39,4 +39,7 @@ catch (RouterException $e) die("404 Not Found"); } -echo($sPageContents); +echo(NewTemplater::Render("layout", $locale->strings, array( + "title" => $sPageTitle, + "contents" => $sPageContents +)));