blob: b9f3434ca6f2a638e8d4fd4aa01dd4d28c1408c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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; charset=utf-8";
<title>site-C-ing: <% title() %></title>
<meta name="copyright" content="Copyright (c) 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>
|