]> git.phdru.name Git - phdru.name/phdru.name.git/blobdiff - phd_pp_ru.tmpl
Moved title before type.
[phdru.name/phdru.name.git] / phd_pp_ru.tmpl
index 10da99f6577eb17c9befb4223f35f09eb1dc9c88..c87bfce900a14907061cb2542a122db3d0dd6df5 100644 (file)
@@ -5,6 +5,7 @@
 #attr $Description = None
 #attr $Keywords = None
 #attr $Copyright = None
+#attr $Start = None
 #attr $Prev = None
 #attr $Next = None
 #attr $refresh = None
@@ -13,6 +14,7 @@
 #attr $last_modified_ru = time.strftime("%d.%m.%Y в %T", time.localtime())
 #attr $styles = None
 #attr $alternates = None
+#attr $Tag = ()
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
 <html>
 #end if
 #if $Copyright
 #set $full_copyright = $copyright($Copyright)
-<meta name="author" content="Oleg BroytMann">
+<meta name="author" content="Oleg Broytman">
 <meta name="copyright" content="&copy; $full_copyright PhiloSoft Design">
 <link rel="copyright" href="." title="&copy; $full_copyright PhiloSoft Design">
 #end if
 <meta name="generator" content="CheetahTemplate">
 <link rev="made" href="mailto:phd@phd.pp.ru">
+<meta name="robots" content="index, follow">
 #if $root
-<link rel="top" href="$root">
-<link rel="up" href="../">
+<link rel="Top" href="$root">
+<link rel="Up" href="../">
+#end if
+#if $Start
+<link rel="Start" href="$Start">
 #end if
 #if $Prev
-<link rel="prev" href="$Prev">
+<link rel="Prev" href="$Prev">
 #end if
 #if $Next
-<link rel="next" href="$Next">
+<link rel="Next" href="$Next">
 #end if
 <link rel="stylesheet" type="text/css" media="screen" href="${root}phd.css">
 #if $styles
@@ -59,28 +65,60 @@ $style
 #end for
 #end if
 #if $alternates
-#for $type, $title, $href in $alternates
-<link rel="alternate" type="$type" title="$title" href="$href">
+#for $title, $type, $href in $alternates
+<link rel="alternate" title="$title" type="$type" href="$href">
 #end for
 #end if
+<link rel="shortcut icon" href="${root}favicon.ico">
+#if not $root
+<link rel="openid.delegate" href="http://phd.pp.ru/">
+<link rel="openid2.local_id" href="http://phd.pp.ru/">
+<link rel="openid.server" href="http://phd.pp.ru/cgi-bin/poit.py">
+<link rel="openid2.provider" href="http://phd.pp.ru/cgi-bin/poit.py">
+#end if
 <meta name="MSSmartTagsPreventParsing" content="TRUE"> <!-- MUST DIE -->
 </head>
 <body bgcolor="#CCCCCC" text="#000000"
       link="#0000bb"  vlink="#551a8b" alink="#ff0000">
 $body
+#def link_tag($tag)
+<a href="../../../tags/${tag}.html">$tag</a>
+#end def
+#if $Tag
+<hr width="90%">
+#if isinstance($Tag, basestring)
+#if $path.startswith("/Russian/")
+Тег:
+#else
+Tag:
+#end if
+$link_tag($Tag)
+#else
+#if $path.startswith("/Russian/")
+Теги:
+#else
+Tags:
+#end if
+#for $tag in $Tag
+$link_tag($tag)
+#end for
+#end if
+#end if
+<hr width="90%">
 #if $path.endswith("index.html")
 #set $path = $path[:-len("index.html")]
 #end if
-<hr width="90%">
 #if $path.startswith("/Russian/")
 <p class="head" style="font-size: 60%">Эта страница <a href="http://phd.pp.ru$path">http://phd.pp.ru$path</a>
 была сгенерирована $last_modified_ru из шаблона CheetahTemplate <a href="$_fileBaseName">$_fileBaseName</a>;
+<a href="${root}Russian/free.html">Некоторые права зарезервированы</a>.
 Вы можете узнать <a href="${root}about/">о</a> <a href="${root}about/technical.html">технических</a> аспектах этого сайта.
 </p>
 #else
 <p class="head" style="font-size: 60%">This is the page <a href="http://phd.pp.ru$path">http://phd.pp.ru$path</a>.
-It was generated on $last_modified_en from CheetahTemplate <a href="$_fileBaseName">$_fileBaseName</a>;
-read more <a href="${root}about/">about</a> <a href="${root}about/technical.html">technical</a> aspects of the site.
+It was generated on $last_modified_en from CheetahTemplate <a href="$_fileBaseName">$_fileBaseName</a>.
+<a href="./${root}free.html">Some rights are reserved</a>.
+Read more <a href="${root}about/">about</a> <a href="${root}about/technical.html">technical</a> aspects of the site.
 </p>
 #end if
 </body>