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