]> git.phdru.name Git - phdru.name/phdru.name.git/blob - phd_site.tmpl
Change POST to GET
[phdru.name/phdru.name.git] / phd_site.tmpl
1 #encoding koi8-r
2 #extends phd
3 #implements respond
4 #attr $Lead = ''
5 #attr $Title = ''
6 #attr $Description = None
7 #attr $Keywords = None
8 #attr $Copyright = None
9 #attr $Start = None
10 #attr $First = None
11 #attr $Prev = None
12 #attr $Next = None
13 #attr $Last = None
14 #attr $Refresh = None
15 #import time
16 #attr $last_modified_en = time.strftime("%a, %d %b %Y %T GMT", time.gmtime())
17 #attr $local_time = time.localtime()
18 #attr $styles = None
19 #attr $alternates = None
20 #attr $Tag = ()
21 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
22    "http://www.w3.org/TR/html4/loose.dtd">
23 <html>
24 <!-- THIS PAGE IS AUTOMATICALLY GENERATED USING CheetahTemplate. DO NOT EDIT. -->
25 <head>
26 <meta HTTP-Equiv="Content-Type" content="text/html">
27 <meta HTTP-Equiv="Content-Location" content="http://phdru.name$path">
28 <meta HTTP-Equiv="Last-Modified" content="$last_modified_en">
29 <title>$Title</title>
30 #if $Refresh:
31 <meta HTTP-Equiv="Refresh" content="$Refresh">
32 #end if
33 #if $Description
34 <meta name="description" content="$Description">
35 #end if
36 #if $Keywords
37 <meta name="keywords" content="$Keywords">
38 #end if
39 #if $Copyright
40 #set $full_copyright = $copyright($Copyright)
41 #if $path.startswith("/Russian/")
42 #set $author_href = $root + "Russian/"
43 #set $copy_href = $root + "Russian/free.html"
44 #else
45 #set $author_href = $root or "./"
46 #set $copy_href = $root + "free.html"
47 #end if
48 <meta name="author" content="Oleg Broytman">
49 <link rel="author" href="$author_href" title="&copy; $full_copyright PhiloSoft Design">
50 <meta name="copyright" content="&copy; $full_copyright PhiloSoft Design">
51 <link rel="copyright" href="$copy_href" title="&copy; $full_copyright PhiloSoft Design">
52 #end if
53 <link rev="made" href="mailto:phd@phdru.name">
54 <meta name="generator" content="CheetahTemplate">
55 <meta name="robots" content="index, follow">
56 #if $root
57 #if $path.endswith('index.html')
58 <link rel="up" href="../">
59 #else
60 <link rel="up" href="./">
61 #end if
62 #end if
63 #if $Start
64 <link rel="start" href="$Start">
65 #elif not $path.endswith('index.html')
66 <link rel="start" href="./">
67 #end if
68 #if $First
69 <link rel="first" href="$First">
70 #end if
71 #if $Prev
72 <link rel="prev" href="$Prev">
73 #end if
74 #if $Next
75 <link rel="next" href="$Next">
76 #end if
77 #if $Last
78 <link rel="last" href="$Last">
79 #end if
80 #if $path != "/search.html"
81 <link rel="search" type="text/html" href="${root}search.html">
82 #end if
83 <link rel="stylesheet" type="text/css" media="screen" href="${root}phd.css">
84 #if $styles
85 #for $media, $style in $styles
86 <STYLE type="text/css" media="$media">
87 <!--
88 $style
89 --></STYLE>
90 #end for
91 #end if
92 #if $alternates
93 #for $title, $type, $href in $alternates
94 <link rel="alternate" title="$title" type="$type" href="$href">
95 #end for
96 #end if
97 <link rel="shortcut icon" href="${root}favicon.ico">
98 #if not $root
99 <link rel="openid.delegate" href="http://phdru.name/">
100 <link rel="openid2.local_id" href="http://phdru.name/">
101 <link rel="openid.server" href="http://home.phdru.name/cgi-bin/poit.py">
102 <link rel="openid2.provider" href="http://home.phdru.name/cgi-bin/poit.py">
103 #end if
104 <meta name="MSSmartTagsPreventParsing" content="TRUE"> <!-- MUST DIE -->
105 </head>
106 <body bgcolor="#CCCCCC" text="#000000"
107       link="#0000bb"  vlink="#551a8b" alink="#ff0000">
108 $body
109 #def link_tag($tag)
110 <a href="../../../tags/${tag}.html">$tag</a>
111 #end def
112 #if $Tag
113 <hr width="90%">
114 #if isinstance($Tag, basestring)
115 #if $path.startswith("/Russian/")
116 Тег:
117 #else
118 Tag:
119 #end if
120 $link_tag($Tag)
121 #else
122 #if $path.startswith("/Russian/")
123 Теги:
124 #else
125 Tags:
126 #end if
127 #for $tag in $Tag
128 $link_tag($tag)
129 #end for
130 #end if
131 #end if
132 <hr width="90%">
133 #if $path.endswith("index.html")
134 #set $path = $path[:-len("index.html")]
135 #end if
136 #if $path.startswith("/Russian/")
137 <p class="head" style="font-size: 60%">Эта страница <a href="http://phdru.name$path">http://phdru.name$path</a>
138 была сгенерирована $time.strftime("%d.%m.%Y", $local_time) в $time.strftime("%T", $local_time) из шаблона CheetahTemplate
139 <a href="$_fileBaseName">$_fileBaseName</a>;
140 <a href="${root}Russian/free.html">Некоторые права зарезервированы</a>.
141 Вы можете узнать <a href="${root}about/">о</a> <a href="${root}about/technical.html">технических</a>
142 аспектах этого сайта.</p>
143 #else
144 <p class="head" style="font-size: 60%">This is the page <a href="http://phdru.name$path">http://phdru.name$path</a>.
145 It was generated on $last_modified_en from CheetahTemplate <a href="$_fileBaseName">$_fileBaseName</a>.
146 <a href="./${root}free.html">Some rights are reserved</a>.
147 Read more <a href="${root}about/">about</a> <a href="${root}about/technical.html">technical</a> aspects of the site.
148 </p>
149 #end if
150 </body>
151 </html>#slurp