]> git.phdru.name Git - phdru.name/phdru.name.git/blob - phd_pp_ru.tmpl
Extended URL regexp. Enhanced wikipedia quoting.
[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 BroytMann">
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 #if $root
44 <link rel="top" href="$root">
45 <link rel="up" href="../">
46 #end if
47 #if $Prev
48 <link rel="prev" href="$Prev">
49 #end if
50 #if $Next
51 <link rel="next" href="$Next">
52 #end if
53 <link rel="stylesheet" type="text/css" media="screen" href="${root}phd.css">
54 #if $styles
55 #for $media, $style in $styles
56 <STYLE type="text/css" media="$media">
57 <!--
58 $style
59 --></STYLE>
60 #end for
61 #end if
62 #if $alternates
63 #for $type, $title, $href in $alternates
64 <link rel="alternate" type="$type" title="$title" href="$href">
65 #end for
66 #end if
67 <link rel="shortcut icon" href="${root}favicon.ico">
68 <meta name="MSSmartTagsPreventParsing" content="TRUE"> <!-- MUST DIE -->
69 </head>
70 <body bgcolor="#CCCCCC" text="#000000"
71       link="#0000bb"  vlink="#551a8b" alink="#ff0000">
72 $body
73 #def link_tag($tag)
74 <a href="../../../tags/${tag}.html">$tag</a>
75 #end def
76 #if $Tag
77 <hr width="90%">
78 #if isinstance($Tag, basestring)
79 #if $path.startswith("/Russian/")
80 Тег:
81 #else
82 Tag:
83 #end if
84 $link_tag($Tag)
85 #else
86 #if $path.startswith("/Russian/")
87 Теги:
88 #else
89 Tags:
90 #end if
91 #for $tag in $Tag
92 $link_tag($tag)
93 #end for
94 #end if
95 #end if
96 <hr width="90%">
97 #if $path.endswith("index.html")
98 #set $path = $path[:-len("index.html")]
99 #end if
100 #if $path.startswith("/Russian/")
101 <p class="head" style="font-size: 60%">Эта страница <a href="http://phd.pp.ru$path">http://phd.pp.ru$path</a>
102 была сгенерирована $last_modified_ru из шаблона CheetahTemplate <a href="$_fileBaseName">$_fileBaseName</a>;
103 <a href="${root}Russian/free.html">Некоторые права зарезервированы</a>.
104 Вы можете узнать <a href="${root}about/">о</a> <a href="${root}about/technical.html">технических</a> аспектах этого сайта.
105 </p>
106 #else
107 <p class="head" style="font-size: 60%">This is the page <a href="http://phd.pp.ru$path">http://phd.pp.ru$path</a>.
108 It was generated on $last_modified_en from CheetahTemplate <a href="$_fileBaseName">$_fileBaseName</a>.
109 <a href="./${root}free.html">Some rights are reserved</a>.
110 Read more <a href="${root}about/">about</a> <a href="${root}about/technical.html">technical</a> aspects of the site.
111 </p>
112 #end if
113 </body>
114 </html>#slurp