From abeaa993a414f9e9a36443d6f429f3cebe2e4e18 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Wed, 19 Jun 2013 02:09:05 +0200 Subject: [PATCH] Render all pages in the site design --- public_html/rewrite.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 +)));