git-svn-id: file:///home/phd/archive/SVN/phdru.name/scripts@132
7bb0bf08-9e0d-0410-b083-
99cee3bf18b8
#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())
<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">
if len(titles) == 1:
new_text.append("""\
-#attr $refresh = "0; URL=%s"
+#attr $Refresh = "0; URL=%s"
""" % titles[0][3])
new_text.append("""\