adding header.inc and footer.inc (for skinning)
authorCillian de Roiste <cillian.deroiste@gmail.com>
Mon, 21 Jan 2008 21:39:31 +0000 (21:39 +0000)
committerCillian de Roiste <cillian.deroiste@gmail.com>
Mon, 21 Jan 2008 21:39:31 +0000 (21:39 +0000)
src/webgit.c

index 22b731c..7b480c6 100644 (file)
@@ -239,7 +239,11 @@ main (int argc, char**argv)
                                                                                                                  and quickly add their project logo, menu back to the main
                                                                                                                  project website and any other notices they may wish to add
                                                                                                                  */
-                                                                                                                html_include ("/home/cillian/webgit/skins/default/inc/header.inc"),
+                                                                                                                html (
+                                                                                                                          html_tag("div",
+                                                                                                                                               html_attr("id", "header")),
+                                                                                                                          html_include ("/home/cillian/webgit/skins/default/inc/header.inc")
+                                                                                                                          ),
                                                                                                                 content,
                                                                                                                 html(
                                                                                                                          html_tag("div",
@@ -248,7 +252,11 @@ main (int argc, char**argv)
                                                                                                                          error_log
                                                                                                                          ),
                                                                                                                 // See TODO header.inc above
-                                                                                                                html_include ("/home/cillian/webgit/skins/default/inc/footer.inc")
+                                                                                                                html (
+                                                                                                                          html_tag("div",
+                                                                                                                                               html_attr("id", "footer")),
+                                                                                                                          html_include ("/home/cillian/webgit/skins/default/inc/footer.inc")
+                                                                                                                          )
 
                                                          )