Permalink
Browse files

Added public layout to application folder by default

  • Loading branch information...
1 parent 68ae305 commit 57a710984559fc7f3a4c36ea566d10395987afe1 @deepwinter deepwinter committed Nov 30, 2011
Showing with 21 additions and 0 deletions.
  1. +19 −0 application/views/LayoutPublic.php
  2. +1 −0 application/views/footer_public.php
  3. +1 −0 application/views/header_public.php
@@ -0,0 +1,19 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ <meta http-equiv="content-script-type" content="text/javascript">
+ <title>LatticeCMS &ldquo;It's Made of People!&rdquo;</title>
+ <?=$stylesheet;?>
+ <?=$javascript;?>
+</head>
+<body class="">
+ <div id="container" class="container_12">
+<?=Request::Factory('header/public')->execute()->body();?>
+<?=Request::Factory('publicmenu')->execute()->body();?>
+<?=$body;?>
+<?=Request::Factory('footer/public')->execute()->body();?>
+ </div>
+</body>
+</html>
@@ -0,0 +1 @@
+This is the default public footer
@@ -0,0 +1 @@
+This is the default public header

0 comments on commit 57a7109

Please sign in to comment.