]> git.phdru.name Git - phdru.name/phdru.name.git/blobdiff - phd_site.tmpl
Change POST to GET
[phdru.name/phdru.name.git] / phd_site.tmpl
index 5cfc7719f8ad1cef37ee271a6aa786ee9c1bc948..6da679aa1a9311ec8bd7662f8e9722f36b3a92c3 100644 (file)
 #attr $Prev = None
 #attr $Next = None
 #attr $Last = None
-#attr $refresh = None
+#attr $Refresh = None
 #import time
 #attr $last_modified_en = time.strftime("%a, %d %b %Y %T GMT", time.gmtime())
-#attr $last_modified_ru = time.strftime("%d.%m.%Y в %T", time.localtime())
+#attr $local_time = time.localtime()
 #attr $styles = None
 #attr $alternates = None
 #attr $Tag = ()
@@ -27,8 +27,8 @@
 <meta HTTP-Equiv="Content-Location" content="http://phdru.name$path">
 <meta HTTP-Equiv="Last-Modified" content="$last_modified_en">
 <title>$Title</title>
-#if $refresh:
-<meta HTTP-Equiv="Refresh" content="$refresh">
+#if $Refresh:
+<meta HTTP-Equiv="Refresh" content="$Refresh">
 #end if
 #if $Description
 <meta name="description" content="$Description">
@@ -135,10 +135,11 @@ $link_tag($tag)
 #end if
 #if $path.startswith("/Russian/")
 <p class="head" style="font-size: 60%">Эта страница <a href="http://phdru.name$path">http://phdru.name$path</a>
-была сгенерирована $last_modified_ru из шаблона CheetahTemplate <a href="$_fileBaseName">$_fileBaseName</a>;
+была сгенерирована $time.strftime("%d.%m.%Y", $local_time) в $time.strftime("%T", $local_time) из шаблона 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>
+Вы можете узнать <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://phdru.name$path">http://phdru.name$path</a>.
 It was generated on $last_modified_en from CheetahTemplate <a href="$_fileBaseName">$_fileBaseName</a>.