]> granicus.if.org Git - python/commitdiff
HTML formatting nits.
authorGuido van Rossum <guido@python.org>
Thu, 22 May 1997 15:49:23 +0000 (15:49 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 22 May 1997 15:49:23 +0000 (15:49 +0000)
Added "Reload this entry" link to edit complete screen.

Tools/faqwiz/faqmain.py

index a202e30e095be2651e0f0d4fee3ca524be8cbc5e..9fddb9d56710adc26e4b854fe1615d56e02e1edf 100644 (file)
@@ -465,6 +465,8 @@ class FAQServer:
            """ % sts
            if output:
                print "<PRE>%s</PRE>" % cgi.escape(output)
+       print '<HR>'
+       print '<A HREF="faq.py?req=show&name=%s">Reload this entry.</A>' % name
 
     def showedit(self, name, title, text):
        print """
@@ -556,14 +558,14 @@ class FAQServer:
                except KeyError:
                    pass
                else:
-                   s = '(last changed on %s by <A HREF="%s">%s</A>)'
+                   s = '/ Last changed on %s by <A HREF="%s">%s</A>'
                    print s % (date, email, author)
            print '<P>'
        print "<HR>"
 
     def getversion(self, name):
        p = os.popen("/depot/gnu/plat/bin/rlog -h %s </dev/null 2>&1" % name)
-       head = ""
+       head = "*new*"
        while 1:
            line = p.readline()
            if not line:
@@ -594,7 +596,7 @@ class FAQServer:
        <HR>
        <A HREF="http://www.python.org">Python home</A> /
        <A HREF="faq.py">FAQ home</A> /
-       <A HREF="mailto:guido@python.org">GvR</A>
+       Feedback to <A HREF="mailto:guido@python.org">GvR</A>
        </BODY>
        </HTML>
        '''