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