OSDN Git Service

modify template sekeleton to comply with layout template
authorSotaro Karasawa <sotaro.k@gmail.com>
Mon, 27 Jul 2009 16:07:23 +0000 (01:07 +0900)
committerSotaro Karasawa <sotaro.k@gmail.com>
Mon, 27 Jul 2009 16:07:23 +0000 (01:07 +0900)
skel/skel.template.tpl
skel/template.index.tpl
skel/template.layout.tpl

index bcafec0..92cde26 100644 (file)
@@ -1,9 +1,6 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-    <head>
-        <meta http-equiv="Content-Type" content="text/html; charset={$client_enc}">
-    </head>
-    <body>
-        <h1>{$project_id}</h1>
-    </body>
-</html>
+
+<div id="main">
+    <h2>New Template</h2>
+    <p>hello, world!</p>
+</div>
+
index b6410c1..62d3929 100644 (file)
@@ -1,12 +1,6 @@
-<div id="header">
-    <h1>{$project_id}</h1>
-</div>
 
 <div id="main">
     <h2>Index Page</h2>
     <p>hello, world!</p>
 </div>
 
-<div id="footer">
-    Powered By <a href="http://ethna.jp">Ethna</a>-{$smarty.const.ETHNA_VERSION}.
-</div>
index c7006f1..453e299 100644 (file)
@@ -6,6 +6,14 @@
 <title>{$project_id}</title>
 </head>
 <body>
+<div id="header">
+    <h1>{$project_id}</h1>
+</div>
+
 {$content}
+
+<div id="footer">
+    Powered By <a href="http://ethna.jp">Ethna</a>-{$smarty.const.ETHNA_VERSION}.
+</div>
 </body>
 </html>