]> git.phdru.name Git - phdru.name/phdru.name.git/blob - phd_pp_ru.tmpl
Scripts to (re)build phd.pp.ru site.
[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 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
16    "http://www.w3.org/TR/html4/loose.dtd">
17 <html>
18 <!-- THIS PAGE IS AUTOMATICALLY GENERATED USING CheetahTemplate. DO NOT EDIT. -->
19 <head>
20 <meta HTTP-Equiv="Content-Type" content="text/html">
21 <meta HTTP-Equiv="Content-Location" content="http://phd.pp.ru$path">
22 <meta HTTP-Equiv="Last-Modified" content="$last_modified_en">
23 <title>$Title</title>
24 #if $refresh:
25 <meta HTTP-Equiv="Refresh" content="$refresh">
26 #end if
27 #if $Description
28 <meta name="description" content="$Description">
29 #end if
30 #if $Keywords
31 <meta name="keywords" content="$Keywords">
32 #end if
33 #if $Copyright
34 #set $full_copyright = $copyright($Copyright)
35 <meta name="author" content="Oleg BroytMann">
36 <meta name="copyright" content="&copy; $full_copyright PhiloSoft Design">
37 <link rel="copyright" href="." title="&copy; $full_copyright PhiloSoft Design">
38 #end if
39 <meta name="generator" content="CheetahTemplate">
40 <link rev="made" href="mailto:phd@phd.pp.ru">
41 #if $root
42 <link rel="top" href="$root">
43 <link rel="up" href="../">
44 #end if
45 #if $Prev
46 <link rel="prev" href="$Prev">
47 #end if
48 #if $Next
49 <link rel="next" href="$Next">
50 #end if
51 <link rel="stylesheet" type="text/css" media="screen" href="${root}phd.css">
52 #if $styles
53 #for $media, $style in $styles
54 <STYLE type="text/css" media="$media">
55 <!--
56 $style
57 --></STYLE>
58 #end for
59 #end if
60 <meta name="MSSmartTagsPreventParsing" content="TRUE"> <!-- MUST DIE -->
61 </head>
62 <body bgcolor="#CCCCCC" text="#000000"
63       link="#0000bb"  vlink="#551a8b" alink="#ff0000">
64 $body
65 #if $path.endswith("index.html")
66 #set $path = $path[:-len("index.html")]
67 #end if
68 <hr width="90%">
69 #if $path.startswith("/Russian/")
70 <p class="head" style="font-size: 60%">Эта страница <a href="http://phd.pp.ru$path">http://phd.pp.ru$path</a>
71 была сгенерирована $last_modified_ru из шаблона CheetahTemplate <a href="$_fileBaseName">$_fileBaseName</a>;
72 Вы можете узнать <a href="${root}about/">о</a> <a href="${root}about/technical.html">технических</a> аспектах этого сайта.
73 </p>
74 #else
75 <p class="head" style="font-size: 60%">This is the page <a href="http://phd.pp.ru$path">http://phd.pp.ru$path</a>.
76 It was generated on $last_modified_en from CheetahTemplate <a href="$_fileBaseName">$_fileBaseName</a>;
77 read more <a href="${root}about/">about</a> <a href="${root}about/technical.html">technical</a> aspects of the site.
78 </p>
79 #end if
80 </body>
81 </html>#slurp