-rw-r--r-- | htdocs/ancestry/page.chtml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/htdocs/ancestry/page.chtml b/htdocs/ancestry/page.chtml new file mode 100644 index 0000000..28bf7f0 --- a/dev/null +++ b/htdocs/ancestry/page.chtml @@ -0,0 +1,28 @@ +% html(); return; /* vim:set ft=sitecing: */ +%%var bool b_strict = true; +<%decl> + using std::string; +</%decl> +<%method void html() %> +% if(b_strict){ + <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +% }else{ + <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> +% } + <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> + <head> +% __SCIF->headers["Content-Type"] = "text/html"; + <title><% title() %></title> + <meta name="copyright" content="Copyright (c) 1996-2005 Klever Group"/> + <link rel="stylesheet" href="/style.css" type="text/css" /> + </head> + <body> +% body(); + </body> + </html> +</%method> +<%codemethod string title() %> + return "untitled"; +</%codemethod> +<%method void body() %> +</%method> |