Subversion Repositories Local Hare Voting

Rev

Rev 51 | Rev 62 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 51 Rev 54
Line 3... Line 3...
3
import optparse
3
import optparse
4
import cgi
4
import cgi
5
import string
5
import string
6
import sys
6
import sys
7
 
7
 
8
import revision
-
 
9
import parseinput
8
import parseinput
10
import tally
9
import tally
11
 
10
 
12
fHTML = 1
11
fHTML = 1
13
formaction = string.split(sys.argv[0],"/")[-1]
12
formaction = string.split(sys.argv[0],"/")[-1]
Line 34... Line 33...
34
The source code is available <a href="%s?fetch=yes">here</a>.
33
The source code is available <a href="%s?fetch=yes">here</a>.
35
<p>
34
<p>
36
<small>%s</small>
35
<small>%s</small>
37
<hr>
36
<hr>
38
<pre>
37
<pre>
39
""" % (formaction, formaction, revision.revision))
38
""" % (formaction, formaction, "$Id: vote.py 54 2007-09-20 23:39:27Z jtkorb $"))
40
    return
39
    return
41
 
40
 
42
def emitPostHTML():
41
def emitPostHTML():
43
    emitHTML("""</pre>
42
    emitHTML("""</pre>
44
</body>
43
</body>